pick random, then loop
can someone give me an code snippet @ how to pick an random player and then make an loop that affects everybody but that person?
example: everybody affected says "i was affected" Code:
|
Code:
|
thx v3x but i wanted to make the opposit!
everybody exept one! example: players: 4/4 (george, bill, john, richard) ---> Function satrts and radndomly picks jhon! bill: I was affected richard: I was affected george: I was affected jhon: I was not affected |
shame shame, v3x, that could take forever when the game is running 3 / 32 players.
Code:
|
Ah yes, shame upon me. :P
|
| All times are GMT -4. The time now is 14:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.