This commit is contained in:
Nordi98 2025-07-18 20:21:42 +02:00
parent 8f5115d602
commit 860d27e06f
17 changed files with 960 additions and 0 deletions

View file

@ -0,0 +1,39 @@
-- the postal map to read from
-- change it to whatever model you want that is in this directory
local postalFile = 'new-postals.json'
--[[
WHAT EVER YOU DO, DON'T TOUCH ANYTHING BELOW UNLESS YOU **KNOW** WHAT YOU ARE DOING
If you just want to change the postal file, **ONLY** change the above variable
--]]
fx_version 'cerulean'
games { 'gta5' }
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'
url 'https://github.com/DevBlocky/nearest-postal'
client_scripts {
'config.lua',
'cl.lua',
'cl_commands.lua',
'cl_render.lua',
-- uncomment to enable dev tools
--'cl_dev.lua',
}
server_scripts {
'config.lua',
'sv.lua'
}
file(postalFile)
postal_file(postalFile)
file 'version.json'
server_export 'getPostalServer'