Quote:
Originally Posted by Dwane
I've been waiting for a race tutorial like this for a long time. Very nice effort and very good explained.
EDIT:
I can see what you were talking about.
pawn Код:
estimated max. usage: unknown, due to recursion
Just a little note. You can use
Instead of checking if x is lower/greater than y and adding 0, like the following
Last, in OnDialogResponse callback you should tell to people, just because they will be confused that if we are using it as a filterscript, we should return 0/false, otherwise if it's in gamemode, we should return 1/true.
|
Thanks for the tips Dwayne. Surprisingly I wasn't actually aware that you could % places on decimals as well as floats, I learn something new every day :P. The return 1 on OnDialog response should really be returning 0 rather than one, just a little scripting error on my part.