Player::setCanDoDriveBy

From RAGE Multiplayer Wiki
Revision as of 23:46, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Set whether this player should be able to do drive-bys.

'A drive-by is when a ped is aiming/shooting from vehicle. This includes middle finger taunts. By setting this value to false I confirm the player is unable to do all that. Tested on tick.' - THEAETIK

Syntax

player.setCanDoDriveBy(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also