setSequencePreventMigration
SET_SEQUENCE_PREVENT_MIGRATION0xF5D1F489147CB683The GTA V native SET_SEQUENCE_PREVENT_MIGRATION of the TASK namespace, as LS:MP client scripts call it: the global function setSequencePreventMigration, in JavaScript and in Lua.
setSequencePreventMigration(taskSequenceId: number): voidsetSequencePreventMigration(taskSequenceId: integer)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
setSequencePreventMigration(taskSequenceId);Lua
setSequencePreventMigration(taskSequenceId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
taskSequenceId | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void SET_SEQUENCE_PREVENT_MIGRATION(int taskSequenceId)- Hash
0xF5D1F489147CB683- Introduced
- Game build 3570 legacy numbering