⚒️Roadhelper

You can find all the necessary information and developer content for Trucker here

Make sure to add the necessary items, item images and job names required for the job


  • ["name"]: It is the label that will appear in menus or notifications.

  • The [‘menu’] variable consists of things related to the location from which the job is to be retrieved

    • ["job_menu"]: @vector3 Accepts. The menu access location of the job.

    • ["interaction_distance"]: @float Accepts. The player distance controlled to access the menu.


🚗Operator Car / Car Settings

Contains the details of the operator vehicle. You can enter spawn location and vehicle type.

  • ["model"]: @string You can enter the vehicle model here. Be careful to enter a valid vehicle.

  • ["spawnCoords"]: @vector4 Accepts. It is the position where the vehicle will emerge. The direction your character is facing is the direction the front of your vehicle will face.


🔩Props attached to the vehicle

Roadside assistance items that come on the towtruck when it arrives

  • "jack_stand || spare_wheel || jerry_can"]: Prop settings.

    • ["car_attach"]: The necessary settings for the prop to be a paperclip for the car back

      • ["bone"]: @number Select the appropriate one of the bonnets that the back have.

      • ["coords"]: @vector3 It is the offset to be added to the 0.0 position of the boot.

      • ["rotation"]: @vector3 The location, direction and heading settings of the Prop when attaching it to the back.

    • ["player_attach:]: Prop settings between the prop and the player.

      • ["bone"]: @number Select the appropriate one of the back that the player have. AltV - Ped Bones

      • ["coords"]: @vector3 It is the offset to be added to the 0.0 position of the player.

      • ["rotation"]: @vector3 The location, direction and heading settings of the Prop when attaching it to the player.

      • ["animName"]: @string Animation name.

      • ["animDict"]: @string Animation directory name.


⛓️‍💥Random Road events

Settings required for random roadside assistance calls in this occupation.These are contained in the [‘randomEvents’] table.

["event_timer"]: @number My call timer recommendation is to keep it high or average.

["events"]: @object Table containing random roadside assistance incidents.

  • [index]: @number This is a job number. The maximum number of jobs found should be written by adding +1. If there are no jobs, it should start from 1.

  • 🕙Timer

  • There is only one set timer for deliveries. You can understand it by reading the following variables.

    • ["delivery_time"]: @number Time to be entered for delivery. Minutes * 60 * 1000.

    • ["extra_time"]: @number Extra time to be added after the specified delivery time has expired. Minutes * 60 * 1000

    • ["deducted_per_min"]: @number If extra time is activated, a fee will be deducted from the reward for each ‘One’ minute spent.

  • ["type"]: IMPORTANT@string There are 3 different types: fuel_help, change_wheel and towing.

  • ["label"]: @string The name that will appear to the user during the call phase.

  • ["reward"]: @number The player's reward for this service.

  • ["car_stuff"]: @object This is the settings section related to the vehicle that appears in roadside assistance and other properties of the vehicle depending on the type of assistance.

    • ["model"]: @string You can enter the vehicle model here. Be careful to enter a valid vehicle.

    • ["coords"]: @vector4 Accepts. It is the position where the vehicle will emerge. The direction your character is facing is the direction the front of your vehicle will face.


For fueal_help:

At the bottom of the car_stuff table for the fuel_help Type, please put the bone id of the vehicle's fuel tank. As in the example:

["fuel_bone"] = 15,

For change_wheel:

At the bottom of the car_stuff table for the change_well Type, please enter the closest bone id, tyre id and offset and rotation settings for the jack. As in the example:

["tyre_bone"] = 50,
["tyre_index"] = 0,
["jack_attach"] = {
    ["coords"] = vec3(0.0, 0.0, 0.0),
    ["rotation"] = vec3(0.0, 0.0, 0.0),
}

Here wheel/tyre index:

'0 = wheel_lf / bike, plane or jet front  
'1 = wheel_rf  
'2 = wheel_lm / in 6 wheels trailer, plane or jet is first one on left  
'3 = wheel_rm / in 6 wheels trailer, plane or jet is first one on right  
'4 = wheel_lr / bike rear / in 6 wheels trailer, plane or jet is last one on left  

For towing:

For towing, please go outside the car_stuff table and underneath please enter the location where the vehicle is to be delivered.

["delivery_coords"] = vec3(0.0, 0.0, 0.0),

Last updated