SA-MP Forums Archive
help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help (/showthread.php?tid=266677)



help - TeRmi[N]aTor - 05.07.2011

can any one fix it :
Код HTML:
new Float:x, Float:y, Float:z; 
GetPlayerPos(playerid, x,y,z); 
CreateVehicle(432, x,y,z,0,0,1000);
error :
Код HTML:
warning 202: number of arguments does not match definition
this line :
Код HTML:
CreateVehicle(432, x,y,z,0,0,1000);



Re: help - Laronic - 05.07.2011

Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay)
You forgot to set the angle