Player::hasPlayerLeftTheWorld: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Gets the player's info and calls a function that checks the player's ped position.<br><br>Here's the decompiled function that checks the position: pastebin.com/ZdHG2E7n
Gets the player's info and calls a function that checks the player's ped position.<br><br>Here's the decompiled function that checks the position: pastebin.com/ZdHG2E7n
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.hasPlayerLeftTheWorld();</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.hasPlayerLeftTheWorld();</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
===Return value===
===Return value===
Line 7: Line 7:
==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:31, 6 May 2017

Gets the player's info and calls a function that checks the player's ped position.

Here's the decompiled function that checks the position: pastebin.com/ZdHG2E7n

Syntax

mp.game.player.hasPlayerLeftTheWorld();

Required Arguments

Return value

  • Boolean

Example

// todo

See also