engineRestoreElementStencil
Client
Removes the stencil mark this resource set with engineSetElementStencil.
bool engineRestoreElementStencil(element element)
Parameters
| Name | Type | Description |
|---|---|---|
| element | element | A vehicle, ped, player or object. |
Returns
true if this resource had a mark there, false if not.
Example
local vehicle = createVehicle("infernus", 2495.0, -1680.0, 13.4)
engineSetElementStencil(vehicle, 2, true)
setTimer(function()
engineRestoreElementStencil(vehicle)
end, 5000, 1)