#9

Change
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}
To

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    return 1;
}
Reply


Messages In This Thread
cmd - by saffierr - 14.07.2014, 00:20
Re: cmd - by Jack_Leslie - 14.07.2014, 00:22
Re: cmd - by saffierr - 14.07.2014, 00:27
Re: cmd - by FahadKing07 - 14.07.2014, 00:45
Re: cmd - by saffierr - 14.07.2014, 00:47
Re: cmd - by FahadKing07 - 14.07.2014, 00:55
Re: cmd - by saffierr - 14.07.2014, 01:06
Re: cmd - by saffierr - 14.07.2014, 02:03
Re: cmd - by Jack_Leslie - 14.07.2014, 02:56
Re: cmd - by saffierr - 14.07.2014, 04:56

Forum Jump:


Users browsing this thread: 1 Guest(s)