Перейти к содержанию

Player::setPlayerTargetingMode

Материал из RAGE MP Wiki Archive

I don't know which number is which mode I'm sure it can easily be found with testing, but scripts showed it's not player. They ask a function which returns this Global (Global_2404048) on in the Xbox360 scripts, then sets the param to either, (0, 1, 2, or 3).

0 = Traditional GTA 1 = Assisted Aiming 2 = Free Aim

Syntax

<syntaxhighlight lang="javascript">mp.game.player.setTargetingMode(targetMode);</syntaxhighlight>

Required Arguments

  • targetMode: int

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also