EnterVehicle
Revision as of 14:07, 14 February 2023 by Habi (talk | contribs) (Created page with "{{Welcome| desc=Sends request to server for entering into a vehicle.| params=<syntaxhighlight lang="lua">(vehicleid, seatid) </syntaxhighlight> <poem>::vehicleid : The id of the vehicle to enter into. ::seatid : The seat id. 0 means driver seat.</poem>| example=<source lang="lua"> EnterVehicle(23, 0); </source>| relfuncs=*OnVehicleEnter }}")
Description:
Sends request to server for entering into a vehicle.
Parameters:
(vehicleid, seatid)
vehicleid : The id of the vehicle to enter into.
seatid : The seat id. 0 means driver seat.
Return Values:
This function does not return any specific values.
Example
EnterVehicle(23, 0);
Related Functions
The following functions may be helpful as they relate to this function in one way or another.