Random
#1

Fixed
Reply
#2

you only create the vehicle if the random number = 8
maybe it never was 8..
Reply
#3

Are you sure that you need that break statement? Seems a bit ambiguous. When the first connected player is found, the vehicles are created and the loop stops. However, you already know there are players connected from the first if-statement; this makes the loop quite obsolete.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)