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