diff --git a/cl_commands.lua b/cl_commands.lua index 7ce1796..6c70fc6 100644 --- a/cl_commands.lua +++ b/cl_commands.lua @@ -14,6 +14,7 @@ TriggerEvent('chat:addSuggestion', '/postal', 'Set the GPS to a specific postal' RegisterCommand('postal', function(_, args) if #args < 1 then if pBlip then + TriggerEvent('nearest-postal:removedPostalBlip', pBlip.p.code) RemoveBlip(pBlip.hndl) pBlip = nil TriggerEvent('chat:addMessage', { diff --git a/version.json b/version.json index 014ca7b..646bd77 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { "version": "1.5.4", - "changelog": "Added developer event 'nearest-postal:arrivedAtPostal' that triggers when a player reaches their postal destination." + "changelog": "Added developer event 'nearest-postal:removedPostalBlip' that triggers when a player canceles their current postal route." } \ No newline at end of file