๐พCreate verse-teleport
Verse structured
{
PointA = {
Position = vector3(-394.3517, 1216.3078, 324.64175),
Multiverse = 2,
Marker = {
type = 1,
color = { r = 255, g = 0, b = 0, a = 200 }
},
DistanceView = 50
},
PointB = {
Position = vector3(-399.313, 1198.8815, 324.64175),
Multiverse = 0,
Marker = {
type = 1,
color = { r = 255, g = 0, b = 0, a = 200 }
},
DistanceView = 50
},
Allow = {
Vehicles = true
},
}
Main Structure
First, you need to understand that the main structure of a teleporter contains PointA, PointB, and Allow.
{
PointA = {},
PointB = {},
Allow = {},
}
Allow Structure
At the time of writing this documentation, there is only one parameter, 'Vehicles' of boolean type, that is, if it allows vehicles to cross the portal.
Allow = {
Vehicles = true|false
},
Points Structure
For both points it is the same configuration, you just have to make sure you are pointing the correct locations.
{
Position = vector3(-399.313, 1198.8815, 324.64175),
Multiverse = 0,
Marker = {
type = 1,
color = { r = 255, g = 0, b = 0, a = 200 }
},
DistanceView = 50
}
Position: a vector 3 position of marker (portal)
Multiverse: Number of verse (dimension) or Routed Bucket destination
Marker:
Type: Number of Type of Marker
color: RGBA color palette, Red, Green, Blue, Alpha (https://htmlcolorcodes.com/)
You can use https://overextended.dev/ox_lib/Modules/Marker/Client marker configuration.
DistanceView: Check the distance to see the marker
Last updated
Was this helpful?