So I have been messing around with timers to try and run a mapvote in sandbox (cause I want the map to change every now and then)
I am using willox’s mapvote addon
Here is where things get messy.
The code is ran from /lua/autorun/server/blah.lua
when I run:
timer.Simple( 3600, MapVote.Start(30, true, gm_) )
The server executes the vote on map load… Wich causes a lot of rejoins and all that.
I also tried running:
timer.Create( "mapvotestart1hour", 3600, 0, MapVote.Start(30, true, 9, "gm_") )
Only to get the same results…
Can anybody help me with this ?