Raised This Month: $ Target: $400
 0% 

[CSGO] Want to have two gamemodes to switch between


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zubbins
Junior Member
Join Date: May 2015
Old 05-29-2015 , 16:36   [CSGO] Want to have two gamemodes to switch between
Reply With Quote #1

Is there anyway to have two gamemodes to switch between? For example I do !admin, then go to server commands and there are 3 options; exec cfg, warmod on, warmod off. I want to add a practice mode and my pug addon and be able to switch inbetween.

Thanks!

Edit: Is this the correct subforum, or should I post this under "Sourcemod"?

Last edited by Zubbins; 05-29-2015 at 16:38. Reason: edit
Zubbins is offline
miyoko9299
Member
Join Date: Apr 2015
Old 05-29-2015 , 16:46   Re: [CSGO] Want to have two gamemodes to switch between
Reply With Quote #2

You can add custom cfg to "adminmenu_cfgs" in your Sourcemod folder and you can use load unload plugin command.

Quote:
"sm plugins unload <name>"
"sm plugins load <name>"
__________________
I'm a user of google translate, i do not speak English fluently.
miyoko9299 is offline
Zubbins
Junior Member
Join Date: May 2015
Old 05-29-2015 , 16:53   Re: [CSGO] Want to have two gamemodes to switch between
Reply With Quote #3

Quote:
Originally Posted by miyoko9299 View Post
You can add custom cfg to "adminmenu_cfgs" in your Sourcemod folder and you can use load unload plugin command.
So, right now the server is using the gamemode "pug setup". Its basically an organized way of a 10 man in csgo. Unloading it would set the gamemode to what its set to in the control panel, correct?

For example, I unload pugsetup, and the gamemode gets set to casual
Zubbins is offline
miyoko9299
Member
Join Date: Apr 2015
Old 05-29-2015 , 17:01   Re: [CSGO] Want to have two gamemodes to switch between
Reply With Quote #4

Quote:
Originally Posted by Zubbins View Post
So, right now the server is using the gamemode "pug setup". Its basically an organized way of a 10 man in csgo. Unloading it would set the gamemode to what its set to in the control panel, correct?

For example, I unload pugsetup, and the gamemode gets set to casual
Yes you can for example do something like this

Quote:
sm_plugins unload pugthing
game_mode 0
game_type 0
In your config you load from menu
__________________
I'm a user of google translate, i do not speak English fluently.
miyoko9299 is offline
Zubbins
Junior Member
Join Date: May 2015
Old 05-29-2015 , 17:12   Re: [CSGO] Want to have two gamemodes to switch between
Reply With Quote #5

Quote:
Originally Posted by miyoko9299 View Post
Yes you can for example do something like this



In your config you load from menu
I added in a few and they aren't showing up.. hmm
Zubbins is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 05-29-2015 , 17:51   Re: [CSGO] Want to have two gamemodes to switch between
Reply With Quote #6

if you change a game_mode or game_type be sure to reload the map after
hamilton5 is offline
miyoko9299
Member
Join Date: Apr 2015
Old 05-29-2015 , 18:14   Re: [CSGO] Want to have two gamemodes to switch between
Reply With Quote #7

Quote:
Originally Posted by Zubbins View Post
I added in a few and they aren't showing up.. hmm
Make sure you have add like this

Quote:
{
"cfg/server.cfg" "Standard Server Setup"
"cfg/sourcemod/sm_warmode_on.cfg" "War Mode On"
"cfg/sourcemod/sm_warmode_off.cfg" "War Mode Off"
"cfg/urconfig.cfg "My Config"
}
Might need restart the server
__________________
I'm a user of google translate, i do not speak English fluently.
miyoko9299 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 20:32.


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