How to fix this:
#4

pawn Код:
CMD:let(playerid, params[])
{
    new str[128], ID;

    if(sscanf, "us[128]", ID, str) return SendClientMessage(playerid, -1, "Usage: ekk [playerid] [reason]");
    if(GetPlayerVirtualWorld(playerid) == 9)
    {
          SetPlayerVirtualWorld(ID, 0);
    }
    else
    {
          SendClientMessage(ID, -1, "You are not in the event!");
    }
    return 1;
}
pawn Код:
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\AntiHH.pwn(31) : warning 202: number of arguments does not match definition
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\filterscripts\AntiHH.pwn(40) : error 076: syntax error in the expression, or invalid function call
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
I just need that if the player does /let then SetPlayerVirtualWorld(playerid, 0);
Reply


Messages In This Thread
How to fix this: - by Alex_Obando - 14.08.2011, 04:00
Re: How to fix this: - by PrawkC - 14.08.2011, 04:02
Re: How to fix this: - by grand.Theft.Otto - 14.08.2011, 04:10
Respuesta: How to fix this: - by Alex_Obando - 14.08.2011, 04:15
Re: How to fix this: - by Kitten - 14.08.2011, 04:45
Re: How to fix this: - by [L3th4l] - 14.08.2011, 04:46
Re: How to fix this: - by Grim_ - 14.08.2011, 04:47

Forum Jump:


Users browsing this thread: 2 Guest(s)