Raised This Month: $51 Target: $400
 12% 

cs go. vip flag


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wantedCSGO
Junior Member
Join Date: Mar 2020
Old 04-07-2020 , 14:57   cs go. vip flag
Reply With Quote #1

Haw to addd acces only flag vip
Quote:
case 5:
{
RestartStats(client);
MoreDamageLowSpeed[client] = false;
NoFootSteps[client] = false;
HighSpeed[client] = true;
MoreLowGravity[client] = true;
HealthRegeneration[client] = false;
Knife[client] = 3;
}
wantedCSGO is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-07-2020 , 18:58   Re: cs go. vip flag
Reply With Quote #2

Code:
case 5:
{
	if(CheckCommandAccess(client, "sm_vip", ADMFLAG_CUSTOM1))
	{
		RestartStats(client);
		MoreDamageLowSpeed[client] = false;
		NoFootSteps[client] = false;
		HighSpeed[client] = true;
		MoreLowGravity[client] = true;
		HealthRegeneration[client] = false;
		Knife[client] = 3;
	}
}

Last edited by Bacardi; 04-08-2020 at 01:23.
Bacardi is offline
wantedCSGO
Junior Member
Join Date: Mar 2020
Old 04-08-2020 , 05:35   Re: cs go. vip flag
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
Code:
case 5:
{
	if(CheckCommandAccess(client, "sm_vip", ADMFLAG_CUSTOM1))
	{
		RestartStats(client);
		MoreDamageLowSpeed[client] = false;
		NoFootSteps[client] = false;
		HighSpeed[client] = true;
		MoreLowGravity[client] = true;
		HealthRegeneration[client] = false;
		Knife[client] = 3;
	}
}
Work on flag "o" ?
wantedCSGO is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-08-2020 , 05:47   Re: cs go. vip flag
Reply With Quote #4

https://wiki.alliedmods.net/Adding_A...rceMod)#Levels

You can change word "sm_vip" to something else if you like.

Idea is, once you have compiled plugin code, you not need make edit and new compile, just for editing adminflags inside code.
You can change "sm_vip" word admin flags from SourceMod Admin Overrides.

Or you can even allow access to one of admin groups, not need give admin flag "o" to those admins.
__________________
Do not Private Message @me
Bacardi is offline
wantedCSGO
Junior Member
Join Date: Mar 2020
Old 04-08-2020 , 05:53   Re: cs go. vip flag
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
https://wiki.alliedmods.net/Adding_A...rceMod)#Levels

You can change word "sm_vip" to something else if you like.

Idea is, once you have compiled plugin code, you not need make edit and new compile, just for editing adminflags inside code.
You can change "sm_vip" word admin flags from SourceMod Admin Overrides.

Or you can even allow access to one of admin groups, not need give admin flag "o" to those admins.
thanks
wantedCSGO is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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