Raised This Month: $ Target: $400
 0% 

Admin stuff..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr.Noobie
BANNED
Join Date: Apr 2009
Old 05-30-2009 , 07:16   Admin stuff..
Reply With Quote #1

can anyone help with something because i was thinking that how do i make a plugin which allowed admin user to leap or something else that normal player can't ?
Mr.Noobie is offline
moosewanted
Member
Join Date: May 2009
Old 05-30-2009 , 09:34   Re: Admin stuff..
Reply With Quote #2

http://www.amxmodx.org/funcwiki.php?go=func&id=595

Not sure how useful it is though, which access flag defines the user an admin? Or is an admin defined by having a flag other than the default, z?
moosewanted is offline
31m0_owns
Member
Join Date: May 2008
Location: SLH, New Jersey-- U.S.A
Old 05-30-2009 , 09:42   Re: Admin stuff..
Reply With Quote #3

all that does if the person wants to use the "leap" you are talking about the
PHP Code:
is_user_admin(id
will check to see if he/she is and admin so they can use the "leap"
__________________
Project(s):
Prop-Hunt: 5%
Killcam: NEVER GOING TO HAPPEN!!!
31m0_owns is offline
Reply


Thread Tools
Display Modes

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 13:52.


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