Skip to main content

Player::forceCleanupForAllThreadsWithThisName

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

Syntax​

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

Required Arguments​

  • name: String
  • cleanupFlags: int

Return value​

  • Undefined

Example​

```js // todo ```

See also​