natives.GET OFFSET FROM CAR IN WORLD COORDS: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|side = client
|games = vc
|games = vc
|type = function
|type = function
|name = natives.GET_OFFSET_FROM_CAR_IN_WORLD_COORDS
|name = natives.GET_OFFSET_FROM_CAR_IN_WORLD_COORDS
|parameters = int car, Vec3 position
|arg1 = int car Vehicle handle.
|parameter1 = int car Vehicle handle to act upon.
|arg2 = Vec3 position World coordinates (x, y, z).
|parameter2 = Vec3 position World coordinates (x, y, z).
|desc = retrieves the offset from car in world coords
|usage = retrieves the offset from car in world coords
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 18:54, 13 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.GET_OFFSET_FROM_CAR_IN_WORLD_COORDS(int car, Vec3 position)
The natives.GET_OFFSET_FROM_CAR_IN_WORLD_COORDS function is used to retrieves the offset from car in world coords.

Parameters

1) int car Vehicle handle.
2) Vec3 position World coordinates (x, y, z).

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

GTAIII Logo.png icon-vc.png icon-sa.png icon-iv.png addToWorld
gta.findGroundZCoordinate
gta.findRoofZCoordinate
gta.gravity
gta.moonSize
GTAIII Logo.png icon-vc.png icon-sa.png icon-iv.png removeFromWorld