12.08.2011, 14:32
ok i made a command but it dosen't work... can anyone tell me whats wrong here?
Код:
if ( PlayerInfo[ playerid ][ pAdmin ] > 0 ) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); for (new i = 0; i < MAX_PLAYERS; i++) { if( IsPlayerInRangeOfPoint( i, 50.0, x, y, z)) { if (PlayerInfo[ i ][ pAdmin ] < 0 ) { PlayerInfo[ i ][ pMute ] = true; TogglePlayerControllable( i, false ); AdmFrozen[ i ] = true; } } } }