Random
#1

how would i make a script with random

and it has 18 variables and it places them in one of those 18 cars but if aa player is in that car it will rule that car out

and wont spawn a car for a player in the same place as another player

and wont spawn cars that arnt needed?

Please dont post full script just info that can help or a list of things i need the list will probs help more
Reply
#2

Random what? Sorry I don't understand this ..
Reply
#3

Basicly ive posted this because im making a mini game and i have to use random

pawn Код:
random(18)
I could probs do it by my self with out help and work it out if i keno what went under random do i put case:1 or somthing
Reply
#4

random returns a number between 0 and the number you put inside the function. You can do a switch(random(1) if you want.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)