mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 23:16:03 +01:00
refactor(addCommand): send chat suggestions to correct source (#614)
This commit is contained in:
@@ -18,7 +18,7 @@ SetTimeout(1000, function()
|
||||
TriggerClientEvent('chat:addSuggestions', -1, registeredCommands)
|
||||
end)
|
||||
|
||||
AddEventHandler('playerJoining', function(source)
|
||||
AddEventHandler('playerJoining', function()
|
||||
TriggerClientEvent('chat:addSuggestions', source, registeredCommands)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user