1
0
mirror of https://github.com/citizenfx/cfx-server-data.git synced 2025-02-10 15:42:54 +08:00

sessionmanager for fxs

This commit is contained in:
guava 2017-05-27 09:15:05 +02:00
parent e750bbfac1
commit 2ce893af73

View File

@ -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')