ULX
Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
votemap change at the end of the round?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: votemap change at the end of the round? (Read 1917 times)
0 Members and 1 Guest are viewing this topic.
iViscosity
Respected Community Member
Hero Member
Posts: 803
Karma: 58
votemap change at the end of the round?
«
on:
May 20, 2016, 02:56:18 PM »
So I'm trying to make the default "votemap" command make the map change, upon Admin approval, at the end of the current round, not the instant it's approved, does anyone know how I can do that?
Logged
I'm iViscosity. I like gaming and programming. Need some help?
Shoot me PM
.
Buzzkill
Respected Community Member
Full Member
Posts: 176
Karma: 59
Re: votemap change at the end of the round?
«
Reply #1 on:
May 20, 2016, 05:12:44 PM »
Assuming you want this for all/many gamemode, it depends to a great extent on each gamemode, as the gamemode defines how rounds operate within it. You'd need conditions, based on the gamemode, that would hook into the round system (assuming the gamemode exposed round-based hooks).
gmod_mapvote is probably the most complete, with respect to gamemode support, that I've seen. Might want to poke around the source.
https://github.com/v0ide/gmod-mapvote
Logged
iViscosity
Respected Community Member
Hero Member
Posts: 803
Karma: 58
Re: votemap change at the end of the round?
«
Reply #2 on:
May 23, 2016, 04:30:13 AM »
Sorry I haven't been able to get back to you. Thanks for this. I found something in the code for a hook "TTTEndRound" so I think I'll try this out.
Logged
I'm iViscosity. I like gaming and programming. Need some help?
Shoot me PM
.
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
votemap change at the end of the round?