natives.GET RANDOM COP IN AREA: 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.GET_RANDOM_COP_IN_AREA | |name = natives.GET_RANDOM_COP_IN_AREA | ||
| | |arg1 = Vec3 position World coordinates (x, y, z). | ||
|arg2 = float entity Entity handle. | |||
| | |arg3 = int param1 Integer value. | ||
| | |arg4 = int param2 Integer value. | ||
| | |arg5 = int param3 Integer value. | ||
| | |arg6 = int param4 Integer value. | ||
| | |arg7 = int flag Flag value (0 or 1). | ||
| | |desc = retrieves the random cop in area | ||
| | |||
|return1 = void | |return1 = void | ||
}} | }} | ||
Latest revision as of 18:57, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.GET_RANDOM_COP_IN_AREA(Vec3 position, float entity, int param1, int param2, int param3, int param4, int flag)
The natives.GET_RANDOM_COP_IN_AREA function is used to retrieves the random cop in area.
Parameters
| 1) | Vec3 | position | World coordinates (x, y, z). |
| 2) | float | entity | Entity handle. |
| 3) | int | param1 | Integer value. |
| 4) | int | param2 | Integer value. |
| 5) | int | param3 | Integer value. |
| 6) | int | param4 | Integer value. |
| 7) | 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.