GET_VEHICLE_RADIO_STATION_INDEX
Signature
int GET_VEHICLE_RADIO_STATION_INDEX(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns int
Usage
local retval = GetVehicleRadioStationIndex(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x57037960, vehicle, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetVehicleRadioStationIndex(vehicle);
// by hash
const retval = Citizen.invokeNative('0x57037960', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x57037960, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.