Help with a /pm command
#4

It's easy, just make another condition.
Код:
    for(new i; i < MAX_PLAYERS; i++) 
    { 
		//Checks if the player receiving the PM isn't the one who is sending
		if( i != playerid ) {
			if(PlayerInfo[i][pAdmin] >=1 || IsPlayerAdmin(i))
			{
				if(PlayerInfo[playerid][pAdmin] < PlayerInfo[i][pAdmin])
				{
					SendClientMessage(i, -1, aMessage); 
				}
			}
		}
    }
Reply


Messages In This Thread
Help with a /pm command - by SalmaN97 - 21.04.2015, 19:57
Re: Help with a /pm command - by Fel486 - 21.04.2015, 20:12
Re: Help with a /pm command - by SalmaN97 - 23.04.2015, 18:01
Re: Help with a /pm command - by AberKane - 23.04.2015, 18:18
Re: Help with a /pm command - by SalmaN97 - 23.04.2015, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)