mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
sessionmanager: adds empty client script to enable client to server remote callbacks
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
|
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
|
||||||
|
|
||||||
server_script 'server/host_lock.lua'
|
server_script 'server/host_lock.lua'
|
||||||
|
client_script 'client/empty.lua'
|
||||||
3
resources/[system]/sessionmanager/client/empty.lua
Normal file
3
resources/[system]/sessionmanager/client/empty.lua
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
--This empty file causes the scheduler.lua to load clientside
|
||||||
|
--scheduler.lua when loaded inside the sessionmanager resource currently manages remote callbacks.
|
||||||
|
--Without this, callbacks will only work server->client and not client->server.
|
||||||
Reference in New Issue
Block a user