Generate random
#7

lol

This is essentially correct...
Quote:
Originally Posted by bgedition
Посмотреть сообщение
simply change
pawn Код:
if(i % 4 == 0) // If 'i' is a multiple of 4
to
pawn Код:
if(i % 4 == 0 && i != 0) // If 'i' is a multiple of 4 and 'i' is not 0
However, since the dash makes each group actually FIVE chars, the code should be:
pawn Код:
if(i % 5 == 0 && i != 0) // If 'i' is a multiple of 5 and 'i' is not 0
Reply


Messages In This Thread
Generate random - by SymonClash - 28.03.2019, 20:44
Re: Generate random - by TokicMajstor - 28.03.2019, 23:11
Re: Generate random - by Crayder - 29.03.2019, 03:07
Re: Generate random - by TheToretto - 29.03.2019, 08:22
Re: Generate random - by SymonClash - 29.03.2019, 08:24
Re: Generate random - by bgedition - 29.03.2019, 16:45
Re: Generate random - by Crayder - 30.03.2019, 06:50
Re: Generate random - by Nero_3D - 30.03.2019, 12:00
Re: Generate random - by Crayder - 30.03.2019, 16:31

Forum Jump:


Users browsing this thread: 3 Guest(s)