mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-01-08 06: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 }
|
names[source] = { name = GetPlayerName(source), id = source }
|
||||||
|
|
||||||
TriggerClientEvent('rlUpdateNames', GetHostId())
|
if GetHostId() then
|
||||||
|
TriggerClientEvent('rlUpdateNames', GetHostId())
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
RegisterServerEvent('rlUpdateNamesResult')
|
RegisterServerEvent('rlUpdateNamesResult')
|
||||||
|
Loading…
Reference in New Issue
Block a user