mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
initial
This commit is contained in:
3
resources/fivem/__resource.lua
Normal file
3
resources/fivem/__resource.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
resource_type 'gametype' { name = 'Freeroam' }
|
||||
|
||||
client_script 'fivem_client.lua'
|
||||
9
resources/fivem/fivem_client.lua
Normal file
9
resources/fivem/fivem_client.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user