1
0
mirror of https://github.com/citizenfx/cfx-server-data.git synced 2025-01-10 15:43:00 +08:00
cfx-server-data/resources/fivem/fivem_client.lua
2016-12-15 13:40:07 +01:00

9 lines
253 B
Lua

AddEventHandler('onClientMapStart', function()
Citizen.Trace("ocms fivem\n")
exports.spawnmanager:setAutoSpawn(true)
exports.spawnmanager:forceRespawn()
SetClockTime(24, 0, 0)
PauseClock(true)
Citizen.Trace("ocms fivem end\n")
end)