[Ajuda] ZCMD
#1

como eu faria no zcmd para que se o player estiver no X1 a menssagem retornar?, no strcmp seria so por return 0; na OnPlayerCommandText, mas na OnPlayerCommandPerformed isso nгo funciona :/ o comando й chamado e retorna a messsagem junto:

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(Player[playerid][x1] == true) return SendClientMessage(playerid,-1,"Vocк esta no X1 e nгo pode usar comandos");
    return 1;
}
Reply


Messages In This Thread
ZCMD - by Crueliz0n - 06.10.2012, 17:19
Re: ZCMD - by StanleyScripter - 06.10.2012, 17:24
Re: ZCMD - by Crueliz0n - 06.10.2012, 17:32
Re: ZCMD - by StanleyScripter - 06.10.2012, 17:35
Re: ZCMD - by Crueliz0n - 06.10.2012, 17:38
Re: ZCMD - by StanleyScripter - 06.10.2012, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)