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_render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Citizen.CreateThread(function()
"You've reached your postal destination!"
}
})
TriggerEvent('nearest-postal:arrivedAtPostal', pBlip.p.code)
RemoveBlip(pBlip.hndl)
pBlip = nil
end
Expand Down
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lua54 "yes"

author 'DevBlocky'
description 'This script displays the nearest postal next to map, and allows you to navigate to specific postal codes'
version '1.5.3'
version '1.5.4'
url 'https://github.com/DevBlocky/nearest-postal'

client_scripts {
Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.5.3",
"changelog": "Add ability to get postals from vec3 server sided"
"version": "1.5.4",
"changelog": "Added developer event 'nearest-postal:arrivedAtPostal' that triggers when a player reaches their postal destination."
}
Loading