[Tutorial] Creating a basic dynamic multi-race system
#7

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
pawn Код:
%d:%02d.%03d
Instead of checking if x is lower/greater than y and adding 0, like the following
pawn Код:
%d:0%d:%d00
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)