drawBoundingBox

-- ARGUMENTS
-- box:  table [vector3,vector3,vector3,vector3,vector3,vector3,vector3,vector3]
-- r:    number (0-255)
-- g:    number (0-255)
-- b:    number (0-255)
-- a:    number (0-255)

-- RETURNS
-- nil

local box = ti.boundingBox.getEntityBoundingBox(PlayerPedId())

ti.boundingBox.drawBoundingBox(box,255,255,255,100)

Last updated