04.09.2010, 17:36
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/test", true))
{
// Do something here
return true;
}
new str[ 128 ];
format( str, sizeof( str ), "~w~Unknown command: ~r~\"%s\"", cmdtext[ 0 ] );
return GameTextForPlayer( playerid, str, 5000, 6 );
}