22.03.2012, 15:38
Quote:
PHP Code:
|
Code:
CMD:a( playerid, params[ ] ) { if ( PlayerInfo[ playerid ][ Level ] < 1 ) return SendClientMessage( playerid, 0xFF0000FF, "ERROR: You need to be admin level 1, to use this command!" ); new lsAnn[ 128 ]; if ( sscanf( params, "s[128]", lsAnn ) ) return SendClientMessage( playerid, 0xFF0000FF, "USAGE: /a [Text]" ); new string[ 129 ]; format( string, sizeof( string ), "Admin %s: %s", PlayerName( playerid ), lsAnn ); SendClientMessageToAll( COLOR, string ); return 1; }