[Ajuda] Comando
#4

Quote:
Originally Posted by CharCoast
Посмотреть сообщение
Coloca em OnPlayerCommandText


Exemplo:
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(!
strcmp(cmdtext"/ajuda"true))
    {
        
SendClientMessage(playerid0xFFFFFFFF"SERVER: Este й comando /ajuda!");
        return 
1;
    }
    return 
0;

porem й melhor vc usar processador de comandos
ZCMD й mais simples e facil de usar

https://sampforum.blast.hk/showthread.php?tid=493276
Reply


Messages In This Thread
Comando - by Username1234 - 17.05.2015, 19:06
Re: Comando - by CharCoast - 17.05.2015, 19:14
Re: Comando - by Vegassilva - 17.05.2015, 19:32
Re: Comando - by [BC]Vinny - 18.05.2015, 11:30

Forum Jump:


Users browsing this thread: 1 Guest(s)