Commands
Chat commands for gs-trucking.
/truckertablet -- trucking app NUI. only if TabletItemName is false
/cbradio -- join/leave CB. only if Config.CBRadioEnable
/gettraileroffset -- print hitch offset from your ped (or current vehicle)
/gettraileroffset prop_hose_nozzle -- in-world editor on the nearest trailer/truckertablet still requires Config.EnableStandaloneTablet and HasPerm(). Close with Escape or the in-UI button.
/cbradio only does something in a vehicle class listed in Config.CBRadioVehClasses (unless CBRadioRestrictClasses is false).
Offset editor
Line up cargo, dummy outlines, and hose attach points with /gettraileroffset.
No argument: looks at the closest trailer, prints { x, y, z, rx, ry, rz } from your ped (or the vehicle you are in) in Config.Loads format, and copies it if lib.setClipboard exists. Use that for dummy / hitch comments.
With a model name, it attaches that object to the nearest trailer so you can line up cargo or a hose:
- WASD / QE: move (trailer-local). arrows / brackets: rotate
- Shift: faster. Ctrl: finer
- H: free look
- Enter or left click: print
attachpointsandhoseTrailerOffset, copy, exit - Backspace / Escape: cancel
Stand next to a spawned job trailer (or any trailer) before running it. Exports: Exports.
