GET_VEHICLE_TYPE
Returns the type of the passed vehicle. For client scripts, reference the more detailed [GET_VEHICLE_TYPE_RAW](#\_0xDE73BC10) native. ### Vehicle types * automobile * bike * boat * heli * plane * submarine * trailer * train
CFX
Signature
lua
GetVehicleType(GetVehiclePedIsIn(PlayerPedId(), false))
-- returns char*Parameters
| Name | Type | Description |
|---|---|---|
| Vehicle | The vehicle's entity handle. |
Usage
lua
GetVehicleType(GetVehiclePedIsIn(PlayerPedId(), false))Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
