[Ajuda] Ver todos Cmd's
#13

Basta utilizar a public OnPlayerCommandPerformed da include zcmd .


Siga meu exemplo:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    new myam_Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, myam_Name, sizeof(myam_Name));
    if(success)
        printf("%s digitou o comando %s (existente)", myam_Name, cmdtext);
    else printf("%s digitou o comando %s (inexistente)", myam_Name, cmdtext);
    return 1;
}
Reply


Messages In This Thread
Ver todos Cmd's - by Stroon - 06.03.2014, 00:25
Re: Ver todos Cmd's - by yNexus - 06.03.2014, 00:39
Re: Ver todos Cmd's - by Stroon - 06.03.2014, 00:51
Re: Ver todos Cmd's - by yNexus - 06.03.2014, 01:02
Re: Ver todos Cmd's - by Stroon - 06.03.2014, 01:07
Re: Ver todos Cmd's - by yNexus - 06.03.2014, 01:23
Re: Ver todos Cmd's - by Stroon - 06.03.2014, 01:26
Re: Ver todos Cmd's - by Schocc - 06.03.2014, 01:51
Re: Ver todos Cmd's - by Input - 06.03.2014, 01:54
Re: Ver todos Cmd's - by Stroon - 06.03.2014, 02:05
Re: Ver todos Cmd's - by Schocc - 06.03.2014, 02:13
Re: Ver todos Cmd's - by Stroon - 06.03.2014, 02:14
Re: Ver todos Cmd's - by Myam - 06.03.2014, 10:23
Re: Ver todos Cmd's - by Stroon - 06.03.2014, 11:44
Re: Ver todos Cmd's - by Myam - 06.03.2014, 11:58
Re: Ver todos Cmd's - by Stroon - 06.03.2014, 12:57
Re: Ver todos Cmd's - by Myam - 06.03.2014, 13:12
Re: Ver todos Cmd's - by Stroon - 06.03.2014, 13:43

Forum Jump:


Users browsing this thread: 3 Guest(s)