mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-02-10 23:53:34 +08:00
sessionmanager for fxs
This commit is contained in:
parent
e750bbfac1
commit
2ce893af73
@ -22,7 +22,7 @@ AddEventHandler('hostingSession', function()
|
||||
end
|
||||
|
||||
-- if the current host was last contacted less than a second ago
|
||||
if GetHostId() >= 1 then
|
||||
if GetHostId() then
|
||||
if GetPlayerLastMsg(GetHostId()) < 1000 then
|
||||
TriggerClientEvent('sessionHostResult', source, 'conflict')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user