How to kick all except playerid
#10

Quote:
Originally Posted by Joe Torran C
How would i make it so it also dosent kick level 5 and over admins?

Format is: [b]PlayerInfo[IDHERE][AdminLevel]
missed the over 5

if(PlayerInfo[i][AdminLevel] < 5){

The problem with && is that ALL the parts have to be true (or false)

So someone who !=playerid && <5 admin means that everyone who isnt playerid gets kicked (assuming playerid is an admin) hence each expression has to be seperate
Reply


Messages In This Thread
How to kick all except playerid - by Torran - 11.03.2010, 17:29
Re: How to kick all except playerid - by ¤Adas¤ - 11.03.2010, 17:34
Re: How to kick all except playerid - by Torran - 11.03.2010, 17:36
Re: How to kick all except playerid - by thiaZ_ - 11.03.2010, 17:37
Re: How to kick all except playerid - by Torran - 11.03.2010, 22:27
Re: How to kick all except playerid - by adsy - 11.03.2010, 22:30
Re: How to kick all except playerid - by aircombat - 11.03.2010, 22:35
Re: How to kick all except playerid - by Torran - 11.03.2010, 22:37
Re: How to kick all except playerid - by aircombat - 11.03.2010, 22:39
Re: How to kick all except playerid - by adsy - 11.03.2010, 23:12

Forum Jump:


Users browsing this thread: 2 Guest(s)