mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23: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()
|
CreateThread(function()
|
||||||
Wait(1000)
|
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 = 'zoneType', help = 'poly, box, sphere' },
|
||||||
{ name = 'useLast', help = 'duplicates the last created zone of the specified type (box and sphere only, optional)' }
|
{ name = 'useLast', help = 'duplicates the last created zone of the specified type (box and sphere only, optional)' }
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user