SetDisableBmxExtraTrickForces
DocsSetDisableBmxExtraTrickForces(disableExtraTrickForces)Description
Introduced in build 463
Disables the additional physics forces applied to BMX bikes that enable them to perform tricks.
Parameters
| Name | Type | Description |
|---|---|---|
disableExtraTrickForces | BOOL | Set to `true` to disable the extra forces applied for tricks on BMX bicycles, making the bike behave more like a regular bicycle without trick capabilities. Set to `false` to allow BMX bikes to perform tricks normally. |
Vehicle Models

adder
alpha
blade
ardent
asea
cogcabrio
baller
blistaReturns
voidThis native does not return a value.
Examples
Official
-- Retrieve the player ped
local playerPed = PlayerPedId()
-- Retrieve the BMX bike the player is currently riding
local bmx = GetVehiclePedIsIn(playerPed, false)
-- If the player is not riding a BMX bike, return
if not IsThisModelABicycle(GetEntityModel(bmx)) then return end
-- Disable the extra forces applied to BMX bikes for tricks
SetDisableBmxExtraTrickForces(bmx, true)