09.05.2016, 16:00
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
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
new string[180];
format(string, sizeof(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, -1, string) : 1); // return : the command succeed ? No : return a message (SendClientMessage(playerid, -1, string) OR Yes : return 1
}