error?
#1

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
Reply
#2

I dont know which line it is, but im guesing it is the setplayerpos.

delete this
Код:
,157.4744
Reply
#3

SetPlayerPos does not support angle position, you must do SetPlayerFacingAngle(playerid,coords);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)