I'm not sure what you mean. What is 'return'? It looks like this is a hook, so you've relocated code from a function and it will return to after the relocated code. If this is in an [enable] section of a script and there's a hook, it will replace the start of that function. The code will execute when the game normally calls that function, which entirely depends on the game.
If you want to create a thread to execute some code you can use 'createthread(address)' where address is the address of your code, but then normally you would setup your own stack frame and use 'call' to call the original function even if it's code you've replaced with your hook.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum