VehicleClient

popOutVehicleWindscreen

POP_OUT_VEHICLE_WINDSCREEN0x6D645D59FB5F5AD3

The GTA V native POP_OUT_VEHICLE_WINDSCREEN of the VEHICLE namespace, as LS:MP client scripts call it: the global function popOutVehicleWindscreen, in JavaScript and in Lua.

SignatureJavaScript
popOutVehicleWindscreen(vehicle: Vehicle): void
SignatureLua
popOutVehicleWindscreen(vehicle: Vehicle)

Usage

JavaScript
popOutVehicleWindscreen(vehicle);
Lua
popOutVehicleWindscreen(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Detaches the vehicle's windscreen.
For further information, see : https://gtaforums.com/topic/859570-glass/#entry1068894566

Reference

Namespace
Vehicle VEHICLE
In the game
void POP_OUT_VEHICLE_WINDSCREEN(Vehicle vehicle)
Hash
0x6D645D59FB5F5AD3
Formerly
_DETACH_VEHICLE_WINDSCREEN

Open in the interactive natives reference