One problem
#5

delete that and add the following code.

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/mycommand"cmdtexttrue10) == 0)
    {
        
// Do something here
        
return 1;
    }
    return 
SendClientMessage(playerid, -1"Server unkown command. Check '/help' to get commands help");

Basically what you'd do would be to change the value of the last return in "OnPlayerCommandText" for your message.
Reply


Messages In This Thread
One problem - by Tuntun - 31.03.2015, 05:09
Re: One problem - by Mya - 31.03.2015, 05:28
Respuesta: One problem - by JuanStone - 31.03.2015, 05:39
Re: One problem - by Tuntun - 31.03.2015, 05:45
Respuesta: One problem - by JuanStone - 31.03.2015, 05:49

Forum Jump:


Users browsing this thread: 2 Guest(s)