natives.CREATE CHAR AS PASSENGER: 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 4: | Line 4: | ||
|type = function | |type = function | ||
|name = natives.CREATE_CHAR_AS_PASSENGER | |name = natives.CREATE_CHAR_AS_PASSENGER | ||
|parameters = int | |parameters = int model, int param1, int param2, int flag | ||
|parameter1 = int | |parameter1 = int model Model identifier. | ||
|parameter2 = int | |parameter2 = int param1 Integer value. | ||
|parameter3 = int | |parameter3 = int param2 Integer value. | ||
|parameter4 = int | |parameter4 = int flag Flag value (0 or 1). | ||
|usage = creates char as passenger | |usage = creates char as passenger | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 17:35, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.CREATE_CHAR_AS_PASSENGER(int model, int param1, int param2, int flag)
The natives.CREATE_CHAR_AS_PASSENGER function is used to creates char as passenger.
Parameters
| 1) | int | model | Model identifier. |
| 2) | int | param1 | Integer value. |
| 3) | int | param2 | 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.