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

Player::intToParticipantindex

Материал из RAGE MP Wiki Archive
Версия от 21:30, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).
--------------------------------------------------------
if (NETWORK::NETWORK_IS_PARTICIPANT_ACTIVE(PLAYER::INT_TO_PARTICIPANTINDEX(i)))

Syntax

<syntaxhighlight lang="javascript">mp.game.player.intToParticipantindex(value);</syntaxhighlight>

Required Arguments

  • value: int

Return value

  • int

Example

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

See also