Raised This Month: $51 Target: $400
 12% 

Head Admins, Admins and VIP Online


Post New Thread Reply   
 
Thread Tools Display Modes
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 05-20-2012 , 13:59   Re: Head Admins, Admins and VIP Online
Reply With Quote #21

then take the source code fysiks posted and change the access levels. press CTRL + F and look for the function (enter there) Access(
There you'd see for the Rashi and VIP and whatever ADMIN_* access, change to what you need.

By the way, you realize you just did a mega bump? its a 1 year old thread.
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
talha
Senior Member
Join Date: Jul 2011
Location: On Earth
Old 05-24-2012 , 09:12   Re: Head Admins, Admins and VIP Online
Reply With Quote #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
talha is offline
Send a message via Yahoo to talha
dbs1989
Member
Join Date: Dec 2010
Location: Denmark
Old 01-09-2013 , 09:40   Re: Head Admins, Admins and VIP Online
Reply With Quote #23

Is it possible to use AdminGroups instead of flags?
__________________
dbs1989 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode