Getting an error - 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)
+--- Thread: Getting an error (
/showthread.php?tid=353070)
Getting an error -
RyanPetersons - 22.06.2012
Getting 1 error in this line
GetVehiclePos(InAmbu[playerid],X, Y, Z);
Error name: error 035: argument type mismatch (argument 2)
Re: Getting an error -
RyanPetersons - 22.06.2012
Help me with it
Re: Getting an error -
Skaizo - 22.06.2012
like this
pawn Код:
new InAmbu;
InAmbu = GetPlayerVehicleID(playerid);
new Float:vehx, Float:vehy, Float:vehz;
GetVehiclePos(InAmbu, vehx, vehy, vehz);
becouse you can't InAmbu[playerid]