28.12.2011, 01:12
It is the right topic.
OnTopic.
spedico used marcros to do a variable fast, easy and usefull.
That's more accurate.щ
Example:
OnTopic.
spedico used marcros to do a variable fast, easy and usefull.
pawn Код:
#define RandomEx(%0,%1) floatround(random((%1) - (%0)) + (%0))
Example:
pawn Код:
#define RandomEx(%0,%1) floatround(random((%1) - (%0)) + (%0))
new result = RandomEx(10,100);
printf(" result is %d ", result);