mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-01-06 21:02:57 +08:00
rconlog: check for host id
This commit is contained in:
parent
54f75bca86
commit
bbc77613f0
@ -9,7 +9,9 @@ AddEventHandler('rlPlayerActivated', function()
|
||||
|
||||
names[source] = { name = GetPlayerName(source), id = source }
|
||||
|
||||
TriggerClientEvent('rlUpdateNames', GetHostId())
|
||||
if GetHostId() then
|
||||
TriggerClientEvent('rlUpdateNames', GetHostId())
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterServerEvent('rlUpdateNamesResult')
|
||||
|
Loading…
Reference in New Issue
Block a user