Jump to content

What is CLEO_ThreadJumpAtLabelPtr() ?


Recommended Posts

That's the question. What exactly this function do?

void WINAPI CLEO_ThreadJumpAtLabelPtr(CScriptThread* thread, int labelPtr);
Edited by gokuta
Link to comment
Share on other sites

It sets the "Program counter" to position given as labelPtr.


You could make "GOTO"-like commands with this.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.