unknowns command
#3

PHP код:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
{
    new 
string[180];
    
format(stringsizeof(string), "The command '%s' doesn't exist. Please check /cmds."cmdtext); // "doesn't exist" is maybe false - Replace /cmds by your help command.
    
return (!success SendClientMessage(playerid, -1string) : 1); // return : the command succeed ? No :  return a message (SendClientMessage(playerid, -1, string) OR Yes : return 1

Show us your command which is returning SERVER: Unknown command
Reply


Messages In This Thread
unknowns command - by hillko - 09.05.2016, 16:00
Re: unknowns command - by LOCS - 09.05.2016, 16:02
Re: unknowns command - by Dayrion - 09.05.2016, 17:19

Forum Jump:


Users browsing this thread: 1 Guest(s)