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

[CS:GO] Forcing cvar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jezis
AlliedModders Donor
Join Date: Jul 2016
Location: Czech Republic
Old 01-28-2019 , 14:55   [CS:GO] Forcing cvar
Reply With Quote #1

Hello,
is there any way how to force mp_match_end_changelevel to 1? I got that in gamemode_custom.cfg and server.cfg, but something seems to change it to 0 every time server restarts.

Could somebody make a plugin to force it, please?
__________________


Last edited by Jezis; 01-28-2019 at 15:27.
Jezis is offline
Send a message via ICQ to Jezis
Nexd
BANNED
Join Date: Dec 2013
Location: Hungary
Old 01-28-2019 , 15:18   Re: [CS:GO] Forcing cvar
Reply With Quote #2

U can try this
https://forums.alliedmods.net/showthread.php?p=2334694

or here is my version, what changes the cvar value at the end of the match(if there is any problem, give me a feedback)

but u forgot to change it somewhere, thats for sure x_x
Attached Files
File Type: sp Get Plugin or Get Source (forcecvar.sp - 170 views - 582 Bytes)

Last edited by Nexd; 01-28-2019 at 15:20.
Nexd is offline
Jezis
AlliedModders Donor
Join Date: Jul 2016
Location: Czech Republic
Old 01-28-2019 , 15:28   Re: [CS:GO] Forcing cvar
Reply With Quote #3

I am pretty sure i f up somewhere, but dunno where.
Thank you very much.
__________________

Jezis is offline
Send a message via ICQ to Jezis
mdmanl
AlliedModders Donor
Join Date: Nov 2017
Location: Netherlands
Old 01-28-2019 , 15:36   Re: [CS:GO] Forcing cvar
Reply With Quote #4

Put it in cfg/sourcemod/sourcemod.cfg

Last edited by mdmanl; 01-28-2019 at 15:38.
mdmanl 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 14:02.


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