engineGetElementStencil
Client
Gives the stencil value a vehicle, ped or object is marked with.
int engineGetElementStencil(element element)
Parameters
| Name | Type | Description |
|---|---|---|
| element | element | A vehicle, ped, player or object. |
Returns
Two values: the mark (0 when there is none) and whether it is seeThrough.
Example
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
local value, seeThrough = engineGetElementStencil(vehicle)
outputDebugString(value .. " " .. tostring(seeThrough))
end