AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with VIP Mod (https://forums.alliedmods.net/showthread.php?t=196971)

retoxx 09-27-2012 10:32

Help with VIP Mod
 
I need help by making this code into that only a user with ADMIN_LEVEL_H can get the reward!

PHP Code:

if( cs_get_user_teamkiller ) == CS_TEAM_CT  )
        {
            return 
PLUGIN_HANDLED
        



claudiuhks 09-27-2012 10:35

Re: Help with VIP Mod
 
PHP Code:

if( get_user_flagskiller ) & ADMIN_LEVEL_H ) {

}

// OR

if( get_user_flagskiller ) & read_flags"t" ) ) {





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

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