View Single Post
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-22-2015 , 10:01   Re: [CS:GO] Vip Features
Reply With Quote #9

Quote:
Originally Posted by JustCallMeLuke View Post
-Add a cvar for configure the flag needed for get access to the vip features.

-
For anyone who wants that flag to be different, its pretty simple and even though a cvar would be nice just looking at the code you can change it.

Step 1. Open the sp file with something like notpad++
The minute you open it on the 6th line it says #define ADMFLAG_NEEDED ADMFLAG_CUSTOM6
He has done this so he can just do that and not type the same thing all the time.

Step 2. Change the CUSTOM6 part to whatever. you can find them here: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)
For example mine is #define ADMFLAG_NEEDED ADMFLAG_RESERVATION (the a flag), i disabled the reserved slots plugin since i plan to use it later on.

Step 3. Save it when you're done and head to http://www.sourcemod.net/compiler.php, upload the .sp file and compile it.

Step 4. Download the compiled smx and drop it in the plugins folder.
Done. just give the flag you've selected to who you want.
Thanks for the explanation, really appreciated! I added it to the first post
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco