Vehicle::setGeneratesEngineShockingEvents: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 April 2024

  • curprev 17:2017:20, 22 April 2024Shr0x talk contribs 711 bytes +711 Created page with "{{JSContainer| === Required Arguments === *'''handle:''' Vehicle handle *'''enable:''' Boolean ===Return value=== *'''void''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.vehicle.setGeneratesEngineShockingEvents(handle, enable); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const vehicle = mp.vehicles.atRemoteId(0); //get vehicle with remote id 0 if (!vehicle || !mp.vehicles.exists(vehicle)) return; //if the vehicle don't exist we retu..."