SetPlayerCanDoDriveBy — FiveM Natives
0x6E8834B52EC20C77 · PLAYER · all
Sets whether the player is able to do drive-bys in vehicle (shooting & aiming in vehicles), this also includes middle finger taunts. This is a toggle, it does not have to be ran every frame.
Parameters
| Name | Type | Description |
|---|---|---|
| player | Player | The player to target. |
| toggle | BOOL | If set to false, disables the players ability to do drive bys. |
Returns
void