natives.ATTACH CHAR TO CAR: 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.ATTACH_CHAR_TO_CAR | |name = natives.ATTACH_CHAR_TO_CAR | ||
|parameters = Vec3 position, int | |parameters = Vec3 position, int char, float param1, int flag | ||
|parameter1 = Vec3 position | |parameter1 = Vec3 position World coordinates (x, y, z). | ||
|parameter2 = int | |parameter2 = int char Character handle. | ||
|parameter3 = float | |parameter3 = float param1 Numeric value. | ||
|parameter4 = int | |parameter4 = int flag Flag value (0 or 1). | ||
|usage = attach char to car in Vice City | |usage = attach char to car in Vice City | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Revision as of 17:25, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.ATTACH_CHAR_TO_CAR(Vec3 position, int char, float param1, int flag)
The natives.ATTACH_CHAR_TO_CAR function is used to attach char to car in Vice City.
Parameters
| 1) | Vec3 | position | World coordinates (x, y, z). |
| 2) | int | char | Character handle. |
| 3) | float | param1 | Numeric 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.