mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
reorganize resource directories
This commit is contained in:
3
resources/[gamemodes]/basic-gamemode/__resource.lua
Normal file
3
resources/[gamemodes]/basic-gamemode/__resource.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
resource_type 'gametype' { name = 'Freeroam' }
|
||||
|
||||
client_script 'basic_client.lua'
|
||||
4
resources/[gamemodes]/basic-gamemode/basic_client.lua
Normal file
4
resources/[gamemodes]/basic-gamemode/basic_client.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
AddEventHandler('onClientMapStart', function()
|
||||
exports.spawnmanager:setAutoSpawn(true)
|
||||
exports.spawnmanager:forceRespawn()
|
||||
end)
|
||||
Reference in New Issue
Block a user