Changing "Unknown Command" text y_commands
#10

PHP код:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
{
    if(!
success)
    {
        new 
string[70];
        
format(stringsizeof(string), "Command %s dont exits, Type /cmds for all your commands."cmdtext);//it will say /test dont exits,type /cmds for all your cmds
        
SendClientMessage(playerid,COLOR_REDstring);//color red
    
}
    return 
true;

this shout work
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)