DIR Return Create A Forum - Home
---------------------------------------------------------
gtaforums
HTML https://gtamixmods.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Modding help
*****************************************************
#Post#: 109--------------------------------------------------
JUMP TO 0
DIR By: ArijitSen
Date: October 15, 2012, 10:28 am
---------------------------------------------------------
The infamous "Jump to 0 offset" bug is usually noticed either by
Sanny reporting it upon an attempt at compiling or when the game
restarts from the beginning without ending the current.
But their is a solution for it.Here you go:
This is caused by not naming a thread with:
--- Code ---
03A4: name_thread 'NAME'
--- End Code ---
However, Since every thread has to be named different and there
is a chance of 2 CLEO threads ending up with the same name (and
therefore crashing or bugging the game)... A workaround was
found.
Instead of using 03A4... Use:
--- Code ---
0000: NOP
--- End Code ---
At the start of your script.
Simple isn't it ??
*****************************************************
Page 1 of 1