mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix(resource/zoneCreator): revert to using event for addSuggestion
This commit is contained in:
@@ -476,7 +476,7 @@ end, true)
|
||||
|
||||
CreateThread(function()
|
||||
Wait(1000)
|
||||
exports.chat:addSuggestion('/zone', 'Starts creation of the specified zone', {
|
||||
TriggerEvent('chat:addSuggestion', '/zone', 'Starts creation of the specified zone', {
|
||||
{ name = 'zoneType', help = 'poly, box, sphere' },
|
||||
{ name = 'useLast', help = 'duplicates the last created zone of the specified type (box and sphere only, optional)' }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user