NPC Trolley
Info
General benefits and script support
Dependencies & Installation
- Put the script in the server and add
ensure "script_name"
to server.cfg - enjoy...
Config demo
Open Config
config.lua
Config = {}
Config.Debug = false -- Debug print
Config.StopEnable = true -- if you want the trolley to stop
Config.Stop = {
[1] = vector3(2608.8120, -1185.2678, 53.1435), -- Locations of stops
[2] = vector3(2800.7068, -1242.4916, 47.5899),
[3] = vector3(2664.9077, -1359.4663, 48.5567),
[4] = vector3(2611.1689, -1271.1692, 52.7317),
}
Config.Texts = {
promptChair = 'Chairs',
promptActionDown = 'Sit down',
promptActionUp = 'Stand up',
}
Config.PromptSit = 0xF3830D8E
-- list of keys here: https://github.com/mja00/redm-shit/blob/master/nuiweaponspawner/config.lua
Config.Sitting = false
-- if you use the D-Labs Trains script at the same time, set to false,
-- the session script already contains the Trains Script and will also work on the trolley
Config.Model = -1083616881
Changelog
No information to display.