Random elements from array
#1

Hello!

I need stock, that will randomly select setted amout of elements of array.
Reply
#2

Use this tutorial ---> https://sampforum.blast.hk/showthread.php?tid=573732 <--- as a reference of what to use and how to do it.
Reply
#3

but how can i make function that chnages arrays elements to new order.
Reply
#4

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
but how can i make function that chnages arrays elements to new order.
What are you trying to do?
Reply
#5

Look up some shuffling methods that is all this is.
Reply
#6

But where can i find shuffl metod like php coding has.
Reply
#7

Just give it a shot and try to write it to work for pawn it is not that hard really it won't help if we write the code for you.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)