vistecter
Ученик
PHP:
if(strcmp(cmd,"/setcoords",true)==0)
{
new File = iniOpen("carspos.ini");
for(new t=1;t<CAR_PROD;t++)
{
if(AutoInfo[t][aStats] == 0)
{
new poss[256];
39555 iniGet(File,t,poss);
new Float:possx,Float:possy,Float:possz,Float:angleposs;
new mods = GetVehicleModel(t);
new ololo[4][256];
split(poss, ololo, ',');
possx = strval(ololo[0]);
possy = strval(ololo[1]);
possz = strval(ololo[2]);
angleposs = strval(ololo[3]);
DestroyVehicle(t);
CreateVehicle(mods,possx,possy,possz,angleposs,AutoInfo[t][aColor1],AutoInfo[t][aColor2],SPAWN_CARS);
AutoInfo[t][aAutoX] = possx;
AutoInfo[t][aAutoY] = possy;
AutoInfo[t][aAutoZ] = possz;
AutoInfo[t][aAutoAngle] = angleposs;
}
}
iniClose(File);
}
PHP:
(39555) : error 035: argument type mismatch (argument 2)
