scriptThreadIteratorReset
SCRIPT_THREAD_ITERATOR_RESET0xDADFADA5A20143A8The GTA V native SCRIPT_THREAD_ITERATOR_RESET of the SCRIPT namespace, as LS:MP client scripts call it: the global function scriptThreadIteratorReset, in JavaScript and in Lua.
scriptThreadIteratorReset(): voidscriptThreadIteratorReset()Usage
JavaScript
scriptThreadIteratorReset();Lua
scriptThreadIteratorReset()Parameters
None.
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.
Starts a new iteration of the current threads.
Call this first, then scriptThreadIteratorGetNextThreadId (0x30B4FA1C82DD4B9F)
Reference
- Namespace
- Script SCRIPT
- In the game
void SCRIPT_THREAD_ITERATOR_RESET()- Hash
0xDADFADA5A20143A8- Formerly
_BEGIN_ENUMERATING_THREADS