unknowns command
#1

the fact is that when I enter the command teleport, for some reason I wrote wrong command and + teleports me how to fix to not show unknown command
Reply
#2

mabe The command dosen't exist on the script
Reply
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)