๐Ÿ”งConfiguration

Script Configuration

Default Configuration

Config = {}
--- DONT TOUCH THIS
Config.__HologramsObjects = {}

--[[

           ____  _____        _____                 _                                  _       
     /\   |  _ \|  __ \      |  __ \               | |                                | |      
    /  \  | |_) | |__) |_____| |  | | _____   _____| | ___  _ __  _ __ ___   ___ _ __ | |_ ___ 
   / /\ \ |  _ <|  ___/______| |  | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __/ __|
  / ____ \| |_) | |          | |__| |  __/\ V /  __/ | (_) | |_) | | | | | |  __/ | | | |_\__ \
 /_/    \_\____/|_|          |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__|___/
                                                           | |                                 
                                                           |_|                                 

    Supported version Octuber 2023
    Support Discord: https://discord.gg/NQFSD6t9hQ

]]

-- Enable/Disable debug mode
Config.DebugMode = true

-- Save algorithm with 'json' or 'kvp' methods
Config.SaveAlgorithm = 'json'

Config.Holograms = {
	['abplogo'] = {
		enabled = true,
		htmlTarget = "abplogo",
		attachTo = 'world',
		type = 'marker',
		typeProperties = {
			---- MARKER PROPERTIES
			rotation = vector3(90.0, 0.0, 0.0), -- vertial, horizontal
			scale = vector3(4.5, 4.5, 4.5),
			rotate = false,
			cameraFollow = false,
			bobUpAndDown = false,
		},
		position = vector3(405.2, -949.5, -98.9),
		distanceView = 100,
		scale = vec2(1024, 1024)
	},

}

Config.SaveAlgorithm

KPV storage is a LOCAL storage system for each client and not on the server side, which saves server memory, although if the player reinstalls FiveM, clears Cache or reformats his computer, the data will be lost. (It is not possible from the server to obtain this information and it can only be manipulated from the client)

JSON File is a LOCAL file stored in the same script.

Last updated

Was this helpful?