09.10.2013, 11:47
Quote:
Thank you sir and sorry for ur time but i got this errors
[code]public OnPlayerCommandPerformed( playerid, cmdtext[ ], success ) { new msg_[ 64 ], name_[ MAX_PLAYER_NAME ] ; GetPlayerName( playerid, name_, MAX_PLAYER_NAME ); format( msg_, sizeof( msg_ ), "%s used: %s", name_, cmdtext ); // SendMessageToAdmins or if you have any function to do that.. // OR ELSE.. USE: for(new i = 0; i < MAX_PLAYERS; i++ ) { if( !IsPlayerConnected( i ) || if( IsPlayerAdmin( i )) continue; // Change pInfo[ i ][ pAdmin ] to what you use for admins' levels SendClientMessage( i, 0xFFFF00FF, msg_ ) } return 1; } |
Код:
SendClientMessage( i, 0xFFFF00FF, msg_ )
Код:
SendClientMessage( i, 0xFFFF00FF, msg_ );