Guys i need command /B i relly dont now how to make it the mod is from 0 and how do i create that IC chat cant see all people on server pleas help me !
pawn Код:
CMD:b( playerid, params[ ] ) {
new string[ 128 ], pName[ 24 ]; GetPlayerName( playerid, pName, 24 );
format( string, sizeof string, "(( %s: %s ))", pName, params );
new Float:pos[ 2 ]; GetPlayerPos( playerid, pos[ 0 ], pos[ 1 ], pos[ 2 ] );
for( new i = 0; i < MAX_PLAYERS; i++ ) if( IsPlayerConnected( i ) && IsPlayerInRangeOfPoint( i, pos[ 0 ], pos[ 1 ], pos[ 2 ] ) )
return SendClientMessage( i, GREY, string );
}