Deny All commands exept 2
#4

pawn Код:
C:\Users\Alex\Desktop\Untitled.pwn(133) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandReceived")
C:\Users\Alex\Desktop\Untitled.pwn(135) : error 028: invalid subscript (not an array or too many subscripts): "GetPlayerVirtualWorld"
C:\Users\Alex\Desktop\Untitled.pwn(135) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Untitled.pwn(135) : error 001: expected token: ";", but found "]"
C:\Users\Alex\Desktop\Untitled.pwn(135) : error 029: invalid expression, assumed zero
C:\Users\Alex\Desktop\Untitled.pwn(135) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    if (GetPlayerVirtualWorld[playerid] == 10 && strcmp(cmdtext, "/help") && strcmp(cmdtext, "/ask")) return SendClientMessage(playerid, 0xFF0000AA, "You cannot use any command just /help & /ask");
    {


    }
    return 1;
}
Reply


Messages In This Thread
Deny All commands exept 2 - by Super_Panda - 12.11.2011, 13:40
Re: Deny All commands exept 2 - by MadeMan - 12.11.2011, 13:42
Re: Deny All commands exept 2 - by [03]Garsino - 12.11.2011, 13:43
Respuesta: Deny All commands exept 2 - by Super_Panda - 12.11.2011, 14:03
Re: Deny All commands exept 2 - by [03]Garsino - 12.11.2011, 14:36
Re: Deny All commands exept 2 - by Calgon - 12.11.2011, 14:55
Respuesta: Deny All commands exept 2 - by Super_Panda - 12.11.2011, 15:05
Re: Deny All commands exept 2 - by whitedragon - 12.11.2011, 15:21
Re: Deny All commands exept 2 - by [03]Garsino - 12.11.2011, 15:25
Re: Deny All commands exept 2 - by Calgon - 12.11.2011, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)