SA-MP Forums Archive
Ah help in little 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: Ah help in little warning ! (/showthread.php?tid=126831)



Ah help in little warning ! - [WSM]Deadly_Evil - 10.02.2010

Код:
***\***.pwn(12676) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warnings.
Line Number: 12676
Код:
SetPlayerPos(playerid, 2498.7253,-1671.0431,-7.4556,270.0491);
Ahh anybody know how to fix it?




Re: Ah help in little warning ! - Rzzr - 10.02.2010

SetPlayerPos(playerid, 2498.7253,-1671.0431,-7.4556,270.0491);
It should be SetPlayerPos(playerid, X, Y, Z);
As you see, you have this: SetPlayerPos(playerid, X, Y, Z, ?);
It's probably the angle, so remove 270.0491


Re: Ah help in little warning ! - [WSM]Deadly_Evil - 10.02.2010

Yeah your right :P Thats my mistake i didn't noticed it


THANKS btw