This repository has been archived on 2025-12-11. You can view files and clone it, but cannot push or open issues or pull requests.

18 lines
475 B
Lua
Raw Normal View History

2025-03-17 13:54:06 +01:00
Config = lib.load("config.config")
lib.addCommand(Config.CommandName, {
help = locale("help_command"),
params = {
{
name = "postal",
type = "number",
help = locale("help_param"),
},
},
restricted = false
}, function(source, args, raw)
local postalcode = args.postal
if postalcode then
TriggerClientEvent("melons_postals:client:SetWaypoint", source, postalcode)
end
end)