editable_server.lua
π Key & Vehicle Access Management
Set Key Durability
Description: Adjusts the durability of lockpicks or hotwire tools based on use.
Arguments:
hotWire
(boolean) β Determines if a hotwire tool is being used.shouldBreak
(boolean) β Determines if the item should break.
π Vehicle & Garage Management
Refresh Player Vehicles
Description: Refreshes a player's vehicles in memory.
Arguments:
identifier
(string) β The player's identifier.
Handle Property Deletion
Description: Reassigns vehicles to a default garage when a property (garage) is deleted.
Arguments:
garage
(string) β The ID of the deleted garage.
π Database Management & Job Data
Load Job Data
Description: Loads job data and job grades from the database on server startup.
Get Player Name From Plate
Description: Fetches the ownerβs name from the database using the vehicle plate.
Arguments:
source
(number) β The requesting playerβs source ID.plate
(string) β The vehicle plate.
Returns: (string) The full name of the vehicle owner.
Last updated