natives.GET REMOTE CONTROLLED CAR: 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 4: Line 4:
|type = function
|type = function
|name = natives.GET_REMOTE_CONTROLLED_CAR
|name = natives.GET_REMOTE_CONTROLLED_CAR
|parameters = int ped, int ped1
|parameters = int player
|parameter1 = int ped The character identifier to act on.
|parameter1 = int player Player index.
|parameter2 = int ped1 The character identifier to act on.
|usage = checks if the player is controlling a remote vehicle and returns its handle
|usage = check if the player controls a remote car.
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Latest revision as of 09:18, 12 June 2026

Function Client Only icon-vc.png Online and Offline

Available since Client 1.0.0
void natives.GET_REMOTE_CONTROLLED_CAR(int player)
The natives.GET_REMOTE_CONTROLLED_CAR function is used to checks if the player is controlling a remote vehicle and returns its handle.

Parameters

1) int player Player index.

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.