mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-01-06 21:02:57 +08:00
Make spawnmanager exports available synchrounously
This commit is contained in:
parent
2bde7889b4
commit
296226b734
@ -1,14 +1,5 @@
|
||||
client_script 'spawnmanager.lua'
|
||||
|
||||
export 'getRandomSpawnPoint'
|
||||
export 'spawnPlayer'
|
||||
export 'addSpawnPoint'
|
||||
export 'removeSpawnPoint'
|
||||
export 'loadSpawns'
|
||||
export 'setAutoSpawn'
|
||||
export 'setAutoSpawnCallback'
|
||||
export 'forceRespawn'
|
||||
|
||||
fx_version 'adamant'
|
||||
games { 'rdr3', 'gta5' }
|
||||
|
||||
|
@ -369,3 +369,11 @@ function forceRespawn()
|
||||
spawnLock = false
|
||||
respawnForced = true
|
||||
end
|
||||
|
||||
exports('spawnPlayer', spawnPlayer)
|
||||
exports('addSpawnPoint', addSpawnPoint)
|
||||
exports('removeSpawnPoint', removeSpawnPoint)
|
||||
exports('loadSpawns', loadSpawns)
|
||||
exports('setAutoSpawn', setAutoSpawn)
|
||||
exports('setAutoSpawnCallback', setAutoSpawnCallback)
|
||||
exports('forceRespawn', forceRespawn)
|
||||
|
Loading…
Reference in New Issue
Block a user