SetPlayerPos Warning? - 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: SetPlayerPos Warning? (
/showthread.php?tid=173282)
SetPlayerPos Warning? -
Quest123 - 02.09.2010
Whenever i use the function ' SetPlayerPos ' i do it correctly and it works, but i always get an warning when i try to compile e.g:
Line:
pawn Код:
SetPlayerPos(playerid,102,2162.1431,639.8893,10.8203);
Compile:
Код:
C:\Users\azd\Desktop\samp03bsvr_R2_win32\gamemodes\blabla.pwn(246) : warning 202: number of arguments does not match definition
Anyone can help?
Re: SetPlayerPos Warning? -
Kitten - 02.09.2010
pawn Код:
SetPlayerPos(playerid,102,2162.1431,639.8893);
pawn Код:
SetPlayerAngle(playerid,10.8203);
u supposed to have 6 co-rds in setplaypos
Re: SetPlayerPos Warning? -
Victor - 02.09.2010
pawn Код:
SetPlayerPos(playerid,2162.1431,639.8893,10.8203);
I'm gussing you used /save and included the skin id, If You looked closely there is a "102" in there..
Re: SetPlayerPos Warning? - [L3th4l] - 02.09.2010
pawn Код:
SetPlayerPos(playerid,2162.1431,639.8893,10.8203);
Re: SetPlayerPos Warning? -
Kitten - 02.09.2010
well thats what hes co-rds said