How to check from arrays?
#6

The loop has no meaning, all you have to do is:
pawn Код:
SetPlayerPos(playerid, Array[spawn][0].....);
Used[spawn] = 1;
but again, for random slots and without loops to retrieve a random free slot foreach/y_iterate is the best option.
Reply


Messages In This Thread
How to check from arrays? - by K0P - 24.06.2016, 15:45
Re: How to check from arrays? - by Sjn - 24.06.2016, 15:57
Re: How to check from arrays? - by K0P - 24.06.2016, 15:58
Re: How to check from arrays? - by Konstantinos - 24.06.2016, 16:08
Re: How to check from arrays? - by K0P - 24.06.2016, 16:12
Re: How to check from arrays? - by Konstantinos - 24.06.2016, 16:18
Re: How to check from arrays? - by Stinged - 24.06.2016, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)