RedM Natives

REMOVE_VEHICLE_WINDOW

Hash0x745F15A215F2DDF1
Runtime nameRemoveVehicleWindow
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xA711568EEDB43069

Signature

void REMOVE_VEHICLE_WINDOW(Vehicle vehicle, int windowIndex);

Parameters

NameTypeDescription
vehicleVehicle—
windowIndexint—

Returns void

Description

windowIndex:
0 = Front Right Window
1 = Front Left Window
2 = Back Right Window
3 = Back Left Window

Usage

Lua
RemoveVehicleWindow(vehicle, windowIndex)

-- always works, by hash
Citizen.InvokeNative(0x745F15A215F2DDF1, vehicle, windowIndex)
JavaScript and C#
JavaScript
RemoveVehicleWindow(vehicle, windowIndex);

// by hash
Citizen.invokeNative('0x745F15A215F2DDF1', vehicle, windowIndex);
C#
Function.Call((Hash)0x745F15A215F2DDF1, vehicle, windowIndex);

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.