|
Senior Member
Join Date: Jul 2011
Location: On Earth
|
05-24-2012
, 09:12
Re: Head Admins, Admins and VIP Online
|
#22
|
Quote:
public show_admins(id)
{
new Rashi[5], rCounter = 0
new Admins[16], aCounter = 0
new VIP[16], vCounter = 0
new MaxP[32], pCounter, player
get_players(MaxP, pCounter, "ch")
for (new i=0 ; i<pCounter ; i++)
{
player = MaxP[i]
if (access(player, ADMIN_KICK,ADMIN_CHAT,ADMIN_MAP))
{
if (access(player, ADMIN_LEVEL_A))
{
if (access(player, ADMIN_IMMUNITY))
{
Rashi[rCounter] = player
rCounter++
continue;
}
Admins[aCounter] = player
aCounter++
continue;
}
VIP[vCounter] = player
vCounter++
continue;
}
}
|
i want the vip to be able to kick , change map , and use admin chat
|
|
|
|