21.11.2013, 22:33
Once again, Emmet has learned something:
You can predefine functions in the script:
AFAIK that just tells the compiler that the function is defined but doesn't exist. Now it's safe to do this:
It's pretty pointless but I'm definitely going to use it in my scripts now, as a cool new method of listing the functions within :D.
You can predefine functions in the script:
pawn Код:
forward stock MyFunction();
pawn Код:
stock MyFunction() // yes, "stock" isn't a typo.
{
print("hi!");
}