SA-MP Forums Archive
SetPlayerCheckPoint - 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: SetPlayerCheckPoint (/showthread.php?tid=67763)



SetPlayerCheckPoint - wiZaK - 03.03.2009

I get this error

error 035: argument type mismatch (argument 5)

on these 2 lines


1st Line = Part of "public SetTeamWaypoint(job, Float, Float:y, Float:z, Floatize[])"

Код:
SetPlayerCheckpoint(i, Float:x, Float:y, Float:z, Float:size);
2nd Line = Part of the Script place its getting inputed into.

Код:
SetTeamWaypoint(job, posX, posY, posZ, 5);



Re: SetPlayerCheckPoint - Daren_Jacobson - 03.03.2009

change 5 to 5.0


Re: SetPlayerCheckPoint - wiZaK - 03.03.2009

Still get the same error on both lines.


Re: SetPlayerCheckPoint - wiZaK - 03.03.2009

solved it, problem was in the forward part of it