Player::setPlayerResetFlagPreferRearSeats: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
example:<br><br>flags: 0-6<br><br>PLAYER::SET_PLAYER_RESET_FLAG_PREFER_REAR_SEATS(PLAYER::PLAYER_ID(), 6);<br><br>wouldnt the flag be the seatIndex?
example:<br><br>flags: 0-6<br><br>PLAYER::SET_PLAYER_RESET_FLAG_PREFER_REAR_SEATS(PLAYER::PLAYER_ID(), 6);<br><br>wouldnt the flag be the seatIndex?
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.setPlayerResetFlagPreferRearSeats(flags);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.setPlayerResetFlagPreferRearSeats(flags);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''flags:''' int
*'''flags:''' int
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Player_function_c}}
{{Player_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:29, 6 May 2017

example:

flags: 0-6

PLAYER::SET_PLAYER_RESET_FLAG_PREFER_REAR_SEATS(PLAYER::PLAYER_ID(), 6);

wouldnt the flag be the seatIndex?

Syntax

mp.game.player.setPlayerResetFlagPreferRearSeats(flags);

Required Arguments

  • flags: int

Return value

  • Undefined

Example

// todo

See also