Gameplay::isTennisMode: 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 10:2710:27, 29 April 2024Shr0x talk contribs 637 bytes +637 Created page with "{{ClientsideJsFunction}} {{JSContainer| Checks whether tennis mode is enabled for given handle. ===Required Values=== *'''ped:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.isTennisMode(ped); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const tennisMode = mp.game.gameplay.isTennisMode(mp.players.local.handle); mp.console.logInfo(`Tennis mode is ${tennisMode..."