natives.LOCATE CHAR IN CAR CHAR 2D: 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.LOCATE_CHAR_IN_CAR_CHAR_2D
|name = natives.LOCATE_CHAR_IN_CAR_CHAR_2D
|parameters = int car, int target, Vec2 position3, int radius
|arg1 = int car Vehicle handle.
|parameter1 = int car Vehicle handle.
|arg2 = int target Target entity handle.
|parameter2 = int target Target entity handle.
|arg3 = Vec2 position3 Third set of coordinates (x, y).
|parameter3 = Vec2 position3 Third set of coordinates (x, y).
|arg4 = int radius Radius in meters.
|parameter4 = int radius Radius in meters.
|desc = checks whether char in car char 2d is within range
|usage = checks whether char in car char 2d is within range
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 19:31, 13 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.LOCATE_CHAR_IN_CAR_CHAR_2D(int car, int target, Vec2 position3, int radius)
The natives.LOCATE_CHAR_IN_CAR_CHAR_2D function is used to checks whether char in car char 2d is within range.

Parameters

1) int car Vehicle handle.
2) int target Target entity handle.
3) Vec2 position3 Third set of coordinates (x, y).
4) int radius Radius in meters.

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.