Wiki
Clone wikiEFLC-MP LUA / getPlayerPassenger
Description
Gets the vehicle and seat the player is in.
Parameters
Int playerid
Return values
Int vehicleId, seatId
Example
local vehicleId, seatId = getPlayerPassenger(playerid)
Updated
Gets the vehicle and seat the player is in.
Int playerid
Int vehicleId, seatId
local vehicleId, seatId = getPlayerPassenger(playerid)
Updated