View Single Post
JustCallMeLuke
Member
Join Date: Dec 2015
Old 12-22-2015 , 08:24   Re: [CS:GO] Vip Features
Reply With Quote #8

-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.
__________________
It's just a prank bro
Cameras over there.
JustCallMeLuke is offline