GetStreamedVehiclesForPlayer: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetStreamedVehiclesForPlayer(player)}} {{FuncParameters}} {{FuncParam|player|__EDIT_ME__}} {{Func..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Returns the array with vehicles streamed for the player.}} | ||
{{FuncSyntax|GetStreamedVehiclesForPlayer(player)}} | {{FuncSyntax|GetStreamedVehiclesForPlayer(player)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|player| | {{FuncParam|player|The player identifier}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Table of vehicle Ids streamed for the player.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
local vehiclesList = GetStreamedVehiclesForPlayer(player) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{VehicleFunctions}} |
Latest revision as of 20:18, 18 December 2019
Description
Returns the array with vehicles streamed for the player.
Syntax
GetStreamedVehiclesForPlayer(player)
Parameters
- player
The player identifier
Return Value
- Table of vehicle Ids streamed for the player.
Example
local vehiclesList = GetStreamedVehiclesForPlayer(player)
See also
- CreateVehicle
- DestroyVehicle
- IsValidVehicle
- GetVehicleCount
- GetAllVehicles
- GetVehicleModel
- GetVehicleModelName
- SetVehicleRespawnParams
- IsVehicleStreamedIn
- GetStreamedVehiclesForPlayer
- GetStreamedVehicles
- SetVehicleLocation
- GetVehicleLocation
- SetVehicleRotation
- GetVehicleRotation
- SetVehicleHeading
- GetVehicleHeading
- SetVehicleHealth
- GetVehicleHealth
- SetVehicleLicensePlate
- GetVehicleVelocity
- GetVehicleDriver
- GetVehiclePassenger
- GetVehicleNumberOfSeats
- SetVehicleColor
- GetVehicleColor
- SetVehicleLinearVelocity
- SetVehicleAngularVelocity
- GetVehicleGear
- SetVehicleHoodRatio
- GetVehicleHoodRatio
- SetVehicleTrunkRatio
- GetVehicleTrunkRatio
- StartVehicleEngine
- StopVehicleEngine
- GetVehicleEngineState
- SetVehicleLightEnabled
- GetVehicleLightState
- SetVehicleDamage
- GetVehicleDamage
- AttachVehicleNitro