[Include] Random
#9

pawn Код:
#define rand() \
    random(cellmax)
Tada! You can't have higher then cellmax as integer in PAWN, so this will be the most efficient way to do this.
Reply


Messages In This Thread
Random - by sciman001 - 22.05.2011, 18:06
Re: Random - by Macluawn - 22.05.2011, 18:08
Re: Random - by sciman001 - 22.05.2011, 18:08
Respuesta: Random - by admantis - 22.05.2011, 18:10
Re: Random - by Macluawn - 22.05.2011, 18:10
Re: Random - by sciman001 - 22.05.2011, 18:18
Respuesta: Random - by admantis - 22.05.2011, 18:25
Re: Random - by marinov - 22.05.2011, 18:30
Re: Random - by RyDeR` - 22.05.2011, 18:31
Re: Random :/ - by sciman001 - 22.05.2011, 19:44
Re: Random - by playbox12 - 22.05.2011, 20:59
Re: Random - by Y_Less - 23.05.2011, 10:26

Forum Jump:


Users browsing this thread: 1 Guest(s)