I think i converted it to esx? https://github.com/yagizher/vrp-1/tree/master/anuntrestart see my version, there might be some end issues you need to fix. Didnt try but rest assure its working. Just fix the end issues if there is any.
this is only for the player which use the command… it doesn’t kick the all players online… so this script is for only ones which use the command in chat , not for everyone online .