06.08.2013, 13:16
How do I change the default unknown command message?
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
if( !success )
{
SendClientMessage( playerid, 0xFF0000FF, "[ERROR]: That command does not exist." );
}
return 1;
}
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!sucess) return some error;
return 1;
}