Skip to main content

Hologram

Provides functions for controlling the hologram ability.

info

This module can only be used in Entity scripts.

Functions

showWeapon(properties)

Displays the hologram of a WeaponSkinConfig.

Parameters

Example

Show a custom skin hologram on the Arm Zone Entity.

local skin = {
'body.rifle.0',
'barrel.pistol.0',
'magazine.rifle.0',
'grip.rpg.0',
'sight.rpg.0',
'stock.rifle.0',
'muzzle.rpg.0',
}

function onStart()
-- Show defined skin as weapon to get
Hologram.showWeapon(skin)
end