Need help with a command
#1

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;
    }
    }
    }
	}
Reply
#2

pawn Код:
if (PlayerInfo[ i ][ pAdmin ] == 0 )
{
    PlayerInfo[ i ][ pMute ] = true;
    TogglePlayerControllable( i, false );
    AdmFrozen[ i ] = true;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)