forceCleanup
FORCE_CLEANUP0xBC8983F38F78ED51The GTA V native FORCE_CLEANUP of the PLAYER namespace, as LS:MP client scripts call it: the global function forceCleanup, in JavaScript and in Lua.
forceCleanup(cleanupFlags: number): voidforceCleanup(cleanupFlags: integer)Usage
JavaScript
forceCleanup(cleanupFlags);Lua
forceCleanup(cleanupFlags)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cleanupFlags | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
used with 1,2,8,64,128 in the scripts
Reference
- Namespace
- Player PLAYER
- In the game
void FORCE_CLEANUP(int cleanupFlags)- Hash
0xBC8983F38F78ED51