remove vip from admins
hello i use "https://github.com/SniperOO7/VIP-Premium-FULL-VERSION"
and its all working but all admins has access to vip how do i remove their acces to vip without moving their admin? |
Re: remove vip from admins
Line 460
return CheckCommandAccess(client, "", ADMFLAG_RESERVATION); Change ADMFLAG_RESERVATION to the flag you want to give to vips. |
Re: remove vip from admins
line 460 in what file? :D
|
Re: remove vip from admins
Quote:
https://github.com/SniperOO7/VIP-Pre...ium-v2-demo.sp |
Re: remove vip from admins
so i can just change it to whatever i want? :D like "return CheckCommandAccess(client, "", VIP_RESERVATION)"
and ty for helping :D |
Re: remove vip from admins
"return CheckCommandAccess(client, "", VIP_RESERVATION)" that is no where to be found in the premium version
|
Re: remove vip from admins
i found it in another file.sp can i just name it whatever i want? :D
|
Re: remove vip from admins
Quote:
You need to use the right flags from sourcemod tho!! https://wiki.alliedmods.net/Checking...Mod_Scripting) |
Re: remove vip from admins
How I would have change.
Add missing admin override "word" or "command". https://github.com/SniperOO7/VIP-Pre...2-demo.sp#L460 Code:
stock bool IsClientVIP(int client) You can change admin access without editing plugin code again. In admins_override.cfg set "sm_vip_only" set flag to else. Code:
Overrides ------------------------------- - Another way to override, set "sm_vip_only" to flag "z" from admin_overrides.cfg - Do not give admin flag "z" to anyone, not even yourself. Your admin restriction would work then. - Set admin group and set specific users into that group. admin_groups.cfg Code:
Groups Code:
Admins |
All times are GMT -4. The time now is 10:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.