fix(resource/zoneCreator): revert to using event for addSuggestion

This commit is contained in:
DokaDoka
2023-01-13 22:28:41 +11:00
parent ba9380b39a
commit 8a785b9fe8

View File

@@ -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)' }
})