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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: error? (
/showthread.php?tid=77313)
error? -
luckie12 - 10.05.2009
hi i need help i get errors this:
pawn Код:
C:\Documents and Settings\Luc\Bureaublad\Pawno\gamemodes\SDR.PWN(1485) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
this is the command:
pawn Код:
if (strcmp("/army", cmdtext, true) == 0)
{
if(!IsPlayerAdmin(playerid))
SendClientMessage(playerid, RED, "You are not an admin!");
SetPlayerPos(playerid,1031.5874,-322.1727,73.9922,157.4744);
SendClientMessage(playerid, 0xE60000FF, "Welcome To Army !");
return 1;
}
whats wrong?
can anyone help me? ty alot
Re: error? -
NeRoSiS - 10.05.2009
I dont know which line it is, but im guesing it is the setplayerpos.
delete this
Re: error? -
MenaceX^ - 10.05.2009
SetPlayerPos does not support angle position, you must do SetPlayerFacingAngle(playerid,coords);