https://files.facepunch.com/forum/upload/1792/dcb416cb-ef32-4554-955b-5839b42a2d7a/image.png
Hey, how could my script remove the colddown? I'm making elections addon, if I press to create vote it does open my own gui, but if someone will close it, and try to run for mayor by f4, it says to wait x seconds I was looking at darkrp doc and source code aswell but wasn't able to find anything
darkrpmodification-master > lua > darkrp_config > settings.lua
-- changejobtime - Minimum amount of seconds a player has to wait before changing job.
GM.Config.changejobtime = 3
Yes, but it's global, I don't want to change jobtime for every job, only mayor, also I don't think it will work, mayor has other colddown than other jobs
Find a way to detour this. Maybe this is a solution.
use this hook playerCanChangeTeam
Sorry, you need to Log In to post a reply to this thread.