Gameplay::getWindDirection: 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.

29 April 2024

  • curprev 09:2909:29, 29 April 2024Shr0x talk contribs 552 bytes +552 Created page with "{{ClientsideJsFunction}} {{JSContainer| Gets wind direction ===Return value=== *''' {{RageType|Vector3}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getWindDirection(); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const windDirection = mp.game.gameplay.getWindDirection(); mp.console.logInfo(`Current wind direction is x: ${windDirection.x} y: ${windDirection.y} z: ${windDirection.z}`); </syntaxhighlight> }} ==See also== {{G..."