natives.GET RANDOM CHAR IN ZONE: 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_RANDOM_CHAR_IN_ZONE
|name = natives.GET_RANDOM_CHAR_IN_ZONE
|parameters = string name, int param, int param, int param
|arg1 = string zone Zone name.
|parameter1 = string name Identifier string.
|arg2 = int char Character handle.
|parameter2 = int param Integer parameter.
|arg3 = int param1 Integer value.
|parameter3 = int param Integer parameter.
|arg4 = int flag Flag value (0 or 1).
|parameter4 = int param Integer parameter.
|desc = retrieves the random char in zone
|usage = retrieves the random char in zone
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}

Latest revision as of 18:57, 13 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.GET_RANDOM_CHAR_IN_ZONE(string zone, int char, int param1, int flag)
The natives.GET_RANDOM_CHAR_IN_ZONE function is used to retrieves the random char in zone.

Parameters

1) string zone Zone name.
2) int char Character handle.
3) int param1 Integer value.
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.