Get info all player
#5

To kick all
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) && (i != playerid) && i != IsPlayerAdmin(playerid))
 {
Kick(i);
}
Thats an example of a loop, that will kick all players except RCON admin
Reply


Messages In This Thread
Get info all player - by xganyx - 20.07.2013, 13:25
Re: Get info all player - by JimmyCh - 20.07.2013, 13:40
Re: Get info all player - by Jefff - 20.07.2013, 13:44
Re: Get info all player - by xganyx - 20.07.2013, 14:15
Re: Get info all player - by JimmyCh - 20.07.2013, 14:22
Re: Get info all player - by xganyx - 20.07.2013, 14:35
Re: Get info all player - by JimmyCh - 20.07.2013, 14:41
Re: Get info all player - by xganyx - 20.07.2013, 15:35
Re: Get info all player - by SuperViper - 21.07.2013, 01:17
Re: Get info all player - by [D]ry[D]esert - 21.07.2013, 01:35

Forum Jump:


Users browsing this thread: 1 Guest(s)