Search the Community
Showing results for tags 'height'.
-
How can I get the number 0 out when I'm on the ground? function height() local jet = doesPedHaveJetPack ( localPlayer ) local x,y,z = getElementPosition (getLocalPlayer()) local height = math.floor((z*0)) if ( jet ) then dxDrawText("Altitude: " .. (z).."", 17, 461, 110, 498, tocolor(254, 17, 17, 254), 0.50, "bankgothic", "left", "top", false) end end addEventHandler ( "onClientRender", getRootElement(), height )
-
The question is the same as the title: how to get width and height of a vehicle component?I dont think that there is any way to do it.
-
- getvehiclecomponents
- lua
-
(and 8 more)
Tagged with: