Player::forceCleanupForAllThreadsWithThisName: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
PLAYER::FORCE_CLEANUP_FOR_ALL_THREADS_WITH_THIS_NAME('pb_prostitute', 1); // Found in decompilation
PLAYER::FORCE_CLEANUP_FOR_ALL_THREADS_WITH_THIS_NAME('pb_prostitute', 1); // Found in decompilation
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.forceCleanupForAllThreadsWithThisName(name, cleanupFlags);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.forceCleanupForAllThreadsWithThisName(name, cleanupFlags);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''name:''' String
*'''name:''' String
Line 9: Line 9:
==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:30, 6 May 2017

PLAYER::FORCE_CLEANUP_FOR_ALL_THREADS_WITH_THIS_NAME('pb_prostitute', 1); // Found in decompilation

Syntax

mp.game.player.forceCleanupForAllThreadsWithThisName(name, cleanupFlags);

Required Arguments

  • name: String
  • cleanupFlags: int

Return value

  • Undefined

Example

// todo

See also