Wiki

Clone wiki

EFLC-MP LUA / isPlayerInAnyVehicle

Description

Gets the ID of the vehicle the player is in

Parameters

Int playerId
Int playerId

Return values

Int vehicleId
vehicleId will be 0 if the player isn't in a vehicle

Example

Updated