Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cl_commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -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."
}
Loading