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

[Any] Deluxe Godmode


Post New Thread Reply   
 
Thread Tools Display Modes
omgitzfreddo
New Member
Join Date: Jan 2014
Old 06-05-2014 , 16:18   Re: [Any] Deluxe Godmode
Reply With Quote #161

Hello can you help me for about 4/5 days now buddha and god stop working all players can use i have set up flags for them but normal players can still use it
Overrides
{
"sm_saxton" "z"
"sm_propplayer" "z"
"sm_resizeme" "o"
"sm_resize" "o"
"sm_rof_access" "o"
"sm_jetpack" "o"
"sm_god" "o"
"sm_buddha" "o"
"sm_mortal" "o"
"sm_grab" "o"
"sm_regen" "o"
"sm_noclip" "o"
"sm_regen_nohp" "t"
"sm_aia" "t"
"@admin"
"@mod"
}
omgitzfreddo is offline
Ibanezez
SourceMod Donor
Join Date: Aug 2014
Location: Earth
Old 11-23-2014 , 21:35   Re: [Any] Deluxe Godmode
Reply With Quote #162

How would I add this to the server.cfg? I'm trying to do:

sm_buddha @all 1
sm_godmode_remember 1
sm_godmode_announce 0

but none of it works. Am I doing this correctly?
__________________
Hello
Ibanezez is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 11-23-2014 , 23:32   Re: [Any] Deluxe Godmode
Reply With Quote #163

The server.cfg file is only executed when a map loads. And when a map has just started, there are no players in game... "sm_buddha @all 1" is being executed on the number of players in the server, which is 0.
__________________

Last edited by ddhoward; 11-23-2014 at 23:33.
ddhoward is offline
CajunZombieKiller
Junior Member
Join Date: Jun 2013
Old 12-12-2014 , 18:12   Re: [Any] Deluxe Godmode
Reply With Quote #164

Is there anyone that can take a look at this plugin all players can use it. I want it for admins only please.

Thanks in advance,
Caj
CajunZombieKiller is offline
cpgrules
Junior Member
Join Date: Aug 2009
Old 01-18-2015 , 18:34   Re: [Any] Deluxe Godmode
Reply With Quote #165

yeah, same here. Anyone can use godmode. I wish it were for admins only
cpgrules is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 01-18-2015 , 19:41   Re: [Any] Deluxe Godmode
Reply With Quote #166

Quote:
Originally Posted by CajunZombieKiller View Post
Is there anyone that can take a look at this plugin all players can use it. I want it for admins only please.

Thanks in advance,
Caj
Quote:
Originally Posted by cpgrules View Post
yeah, same here. Anyone can use godmode. I wish it were for admins only
This is mentioned in the first post. Specifically:

Quote:
Originally Posted by DarthNinja View Post
Command Access:
By default, all players have access to sm_god, sm_buddha, and sm_mortal.
You may (and probably should) override access to these commands so that normal players do not have access to them.

Only admins with access to the overrides sm_godmode_admin, sm_buddhamode_admin, and sm_mortalmode_admin, will be able to use those commands on other players. The default access flag for these overrides is "Slay".
__________________
11530 is offline
cpgrules
Junior Member
Join Date: Aug 2009
Old 01-25-2015 , 17:52   Re: [Any] Deluxe Godmode
Reply With Quote #167

I've tried these commands for admins only Godmode. what am I missing? nothing works
sm_godmode_admin
sm_cvar
sm_godmode_admin
sm_godmode_admin 1
sm_cvar
sm_godmode_admin 1

cpgrules is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 01-25-2015 , 18:05   Re: [Any] Deluxe Godmode
Reply With Quote #168

Quote:
Originally Posted by cpgrules View Post
I've tried these commands for admins only Godmode. what am I missing? nothing works
sm_godmode_admin
sm_cvar
sm_godmode_admin
sm_godmode_admin 1
sm_cvar
sm_godmode_admin 1

It looks like you're trying to use them as commands. They're not commands, they're ConVars override strings which you want to set a flag to, to override what action they're currently working with (in this plugin they're global by default, ""). See the link on overrides two posts above. This is an example on how to set god/buddha/mortal to the "b" flag.

Code:
Overrides
{
	"sm_godmode_admin"	"b"
	"sm_buddhamode_admin"	"b"
	"sm_mortalmode_admin"	"b"
}
__________________

Last edited by 11530; 02-01-2015 at 06:57. Reason: Correction
11530 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 02-01-2015 , 02:55   Re: [Any] Deluxe Godmode
Reply With Quote #169

Quote:
Originally Posted by 11530 View Post
It looks like you're trying to use them as commands. They're not commands, they're ConVars which you want to set a flag to, to override what they're currently set as (in this plugin they're global by default, ""). See the link on overrides two posts above. This is an example on how to set god/buddha/mortal to the "b" flag.

Code:
Overrides
{
    "sm_godmode_admin"    "b"
    "sm_buddhamode_admin"    "b"
    "sm_mortalmode_admin"    "b"
}
They're not convars, they're just override strings.
__________________
Dr. McKay is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 02-01-2015 , 06:55   Re: [Any] Deluxe Godmode
Reply With Quote #170

Quote:
Originally Posted by Dr. McKay View Post
They're not convars, they're just override strings.
Yea, 11:05 PM writing. I was clearly too flustered at what they were trying to do. Same eventual answer though.
__________________
11530 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 02:21.


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