Configuring locations
Configuring Spawn Point Values
VisualDistanceFromLocation = 120.0, -- About 50m.
DistanceToSpawnBasket = 100.0, -- About 10m.
RangeToAttachRescueBasket = 15.0, -- About 15m. I would recommend leaving this.
Enable3DText = true, -- Enables or disabled 3D text drawing. Edit 3D text in c_functions.lua.
EnableMarkers = true, -- Enables or disables markers.
MarkerId = 27, -- https://docs.fivem.net/docs/game-references/markers/
MarkerXOffset = 0.0, MarkerYOffset = 0.0, MarkerZOffset = 0.1,
MarkerScaleX = 3.0, MarkerScaleY = 3.0, MarkerScaleZ = 0.5,
MarkerRotX = 0, MarkerRotY = 0, MarkerRotZ = 0,
MarkerRed = 255, MarkerGreen = 132, MarkerBlue = 0, MarkerAlpha = 225,
VisualDistanceFromLocation = 120.0, this is the distance that the resource can be seen from.
DistanceToSpawnBasket = 100.0, how far away from the spawner you can be to spawn the basket.
RangeToAttachRescueBasket = 15.0, how far away from the basket you need to be to attach it. We recommend leaving this at 15.0.
Enable3DText = true, this gives you a 3D text drawing, To disable change from true to false.
EnableMarkers = true, this adds markers on the spawn locations, Change this to false if you don't want Markers.
MarkerId = 27, if EnableMarkers is true this is what will be shown, Using the fivem docs by clicking here you can customize this marker if you wish.
MarkerXOffset = 0.0, MarkerYOffset = 0.0, MarkerZOffset = 0.1, this allows you to change the offsets of the marker.
MarkerScaleX = 3.0, MarkerScaleY = 3.0, MarkerScaleZ = 0.5, to change the scale of the marker you can change these values.
MarkerRotX = 0, MarkerRotY = 0, MarkerRotZ = 0, this will allow you to set the rotation of the marker.
MarkerRed = 255, MarkerGreen = 132, MarkerBlue = 0, MarkerAlpha = 225, this allows you to set the colouring of the markers.
Configuring new locations
Locations = {
-- vector3(x, y, z)
{location = vector3(306.8490, -1458.6622, 46.5095), heading = 139.4076},
{location = vector3(347.2718, -598.4133, 74.1618), heading = 334.8297},
{location = vector3(-721.7377, -1472.9141, 5.0005), heading = 47.5163},
{location = vector3(-481.5369, 6006.3872, 31.2972), heading = 314.7042},
-- Add additional locations in the same format
},
To set up a new location, you can use one of the preconfigured locations to set up a new location.
Start by doing {location = vector3(x location, y location, z location), heading = heading location}, then you are done with setting up your new location.
Last updated
Was this helpful?