Repeating sequence formation.
#2

You can use modulo operation but it would give 0 instead of 5 so we set it again if that's the case:
pawn Код:
new spawn_number;
if (!(spawn_number = playerid % 5)) spawn_number = 5;
Reply


Messages In This Thread
Repeating sequence formation. - by ProRakNet - 18.05.2016, 16:54
Re: Repeating sequence formation. - by Konstantinos - 18.05.2016, 17:09
Re: Repeating sequence formation. - by Vince - 18.05.2016, 17:22

Forum Jump:


Users browsing this thread: 1 Guest(s)