DrawMarker3D
Wrapper around DrawMarker
for simple 3D markers.
Parameters
markerType
: Marker ID; defaults to 1 if not provided (number, optional).x
: X world coordinate (number).y
: Y world coordinate (number).z
: Z world coordinate (number).sx
: Marker scale on the X axis (number, optional).sy
: Marker scale on the Y axis (number, optional).sz
: Marker scale on the Z axis (number, optional).r
: Red color value (0-255, optional).g
: Green color value (0-255, optional).b
: Blue color value (0-255, optional).a
: Alpha value (0-255, optional).
Usage
- Lua
- Javascript
exports['FS-Lib']:DrawMarker3D(1, 0.0, 0.0, 72.0, 1.0, 1.0, 1.0, 255, 0, 0, 200)
exports['FS-Lib'].DrawMarker3D(1, 0.0, 0.0, 72.0, 1.0, 1.0, 1.0, 255, 0, 0, 200);