AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Admin stuff.. (https://forums.alliedmods.net/showthread.php?t=93527)

Mr.Noobie 05-30-2009 07:16

Admin stuff..
 
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 ?

moosewanted 05-30-2009 09:34

Re: Admin stuff..
 
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?

31m0_owns 05-30-2009 09:42

Re: Admin stuff..
 
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"


All times are GMT -4. The time now is 13:52.

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