RegisterCommand (‘decal’, function (src, arg, rawInput)
local decalType = tonumber (arg) or 1010
local targetedCoord = GetOffsetFromEntityInWorldCoords (PlayerPedId (), 0.0, 1.0, -1.0)
decal = AddDecal (
1110,
targetedCoord.x, targetedCoord.y, targetedCoord.z, – posizione
0.0, 0.0, -1.0, – direzione
0, 1, 0, – sconosciuto
4.0, 4.0, – larghezza, altezza
255, 0.1, 0.1, 1.0, 150.0, false, false, false
)
end)

this draw something

1 Like