Create WORLD Hologram
Setup
Saving in Config.Holograms
Code Explain
['abplogo'] : Hologram ID (unique)
enabled: - (bool) Enable/Disable hologram display on server | default: false
htmlTarget?: - (string) Select the HTML target of
ui/pages/{htmlTarget}
urlTarget?: - (string) Select an Internet URL. (Cannot combine with htmlTarget)
attatchTo: - (string) Select attach type:
'world': 3D creation
'player': Attach to player view
'vehicle': Attach to vehicle view
type: (string): Select creating hologram algorithm
'hologram': Create a 3D hologram with fivem natives
'stream': (WIP) Create a 3D hologram with streamed textures.
typeProperties: (table)
rotation: (vec3): A headache rotation, use the editor.
scale: (vec3): Length, width, and depth (the depth is useless if you don't use the cube marker)
rotate: Always rotate in 360°
cameraFollow: The Hologram Follows the player's camera.
bobUpAndDown: Jump animation
position: (vec3) - a world 3d position
distanceView: (number) - render view
scale: (vec2) - (ATTENTION) Resolution scale of a hologram, not a virtual scale in a 3D world.
Last updated
Was this helpful?