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

[CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)


Post New Thread Reply   
 
Thread Tools Display Modes
edgar009955
Member
Join Date: Aug 2016
Old 02-20-2018 , 16:12   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2391

help plz =)
How to enable voting for ONLY HS mode at the beginning of the round?
edgar009955 is offline
SHiva
Junior Member
Join Date: May 2016
Location: France
Old 02-21-2018 , 06:46   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2392

Use a vote plugin and then exec the HS config after the end.

You can use the console command "dm_load" like this for example :

PHP Code:
char sHsConfig[MAX_CONFIG_SIZE] = "hs_game_mode_name" // use your hs game mode name write in deathmatch.ini
char sCommand[255];

Format(sCommandsizeof(sCommand), "dm_load \"Game Modes\" \"%s\" respawn"sHsConfig);
ServerCommand(sCommand
There must be other alternetive, but it is the one I used for my external plugin that loads several dm cfg during a round.

Last edited by SHiva; 02-21-2018 at 06:50.
SHiva is offline
edgar009955
Member
Join Date: Aug 2016
Old 02-21-2018 , 10:15   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2393

Quote:
Originally Posted by SHiva View Post
Use a vote plugin and then exec the HS config after the end.

You can use the console command "dm_load" like this for example :

PHP Code:
char sHsConfig[MAX_CONFIG_SIZE] = "hs_game_mode_name" // use your hs game mode name write in deathmatch.ini
char sCommand[255];

Format(sCommandsizeof(sCommand), "dm_load \"Game Modes\" \"%s\" respawn"sHsConfig);
ServerCommand(sCommand
There must be other alternetive, but it is the one I used for my external plugin that loads several dm cfg during a round.
Do you have a voting plugin?
edgar009955 is offline
SHiva
Junior Member
Join Date: May 2016
Location: France
Old 02-21-2018 , 10:23   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2394

This one should be good : https://forums.alliedmods.net/showthread.php?t=235115

And then, add in your vote configuration the command
Code:
"dm_load \"Game Modes\" \"dm_hs_mode_name\" respawn"
in the "command" section to load cfg. the key "respawn" will respawn all players on the server.

Last edited by SHiva; 02-21-2018 at 10:30.
SHiva is offline
edgar009955
Member
Join Date: Aug 2016
Old 02-21-2018 , 10:26   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2395

Quote:
Originally Posted by SHiva View Post
thanks for the help!
edgar009955 is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 02-21-2018 , 11:55   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2396

Note that you can replace "respawn" with whatever suits your use case best :
Quote:
dm_load[_mod] "Section" "Subsection" [equip|respawn|restart|nextround] - Force a section->Subsection load
If third argument is supplied, an action is performed:
- none: players will be equiped on their next spawn
- equip: equip all players after successfull load
- respawn: respawn all players after successfull load
- restart: restart game after successfull load
- nextround: perform load on next round

Last edited by h3bus; 02-21-2018 at 11:55.
h3bus is offline
SHiva
Junior Member
Join Date: May 2016
Location: France
Old 02-21-2018 , 13:07   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2397

Quote:
Originally Posted by h3bus View Post
Note that you can replace "respawn" with whatever suits your use case best :

Yes indeed, I might have to specify it ! Thank you !

Last edited by SHiva; 02-21-2018 at 13:08.
SHiva is offline
moonkin09
New Member
Join Date: Feb 2018
Old 03-13-2018 , 02:21   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2398

Quote:
Originally Posted by SHiva View Post
You have to do this to disable only HS

thank you
moonkin09 is offline
die_man
Senior Member
Join Date: Jul 2017
Old 03-19-2018 , 16:37   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2399

How i can configure a multi DM in one server?

dm_load "Game Modes" "p250" respawn doesn't work, server return: USAGE: dm_load[_mod] "section" "subsection" [equip|respawn|restart|nextround]

Last edited by die_man; 03-19-2018 at 17:52.
die_man is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 03-19-2018 , 18:30   Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
Reply With Quote #2400

It should work, did you do this in your console?
h3bus is offline
Reply


Thread Tools
Display Modes

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 05:14.


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