natives.IS CHAR IN AREA 2D: Difference between revisions
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: | ||
{{ | {{ScriptItem2 | ||
| | |side = client | ||
|games = vc | |games = vc | ||
|type = function | |type = function | ||
|name = natives.IS_CHAR_IN_AREA_2D | |name = natives.IS_CHAR_IN_AREA_2D | ||
| | |arg1 = int char Character handle. | ||
|arg2 = Vec2 position World coordinates (x, y). | |||
| | |arg3 = Vec2 position World coordinates (x, y). | ||
| | |arg4 = int flag Flag value (0 or 1). | ||
| | |desc = checks whether char in area 2d | ||
| | |||
|return1 = void | |return1 = void | ||
}} | }} | ||
Latest revision as of 19:06, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.IS_CHAR_IN_AREA_2D(int char, Vec2 position, Vec2 position, int flag)
The natives.IS_CHAR_IN_AREA_2D function is used to checks whether char in area 2d.
Parameters
| 1) | int | char | Character handle. |
| 2) | Vec2 | position | World coordinates (x, y). |
| 3) | Vec2 | position | World coordinates (x, y). |
| 4) | int | flag | Flag value (0 or 1). |
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.