02.01.2014, 18:08
You can do an easy trick with a Define
usage:
I thought about a other way but i don't know if it possible to get the address of a goto label to jump to a label anywhere in your code.
Code:
#define Wait(%0)<%1> return SetTimer("@wait_"#%1,%0,false); } \ forward @wait_%1(); @wait_%1() {
Code:
public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); print("1"); Wait(1000)<a> print("2"); Wait(1000)<b> print("3"); Wait(1000)<c> print("4"); return 1; }