Random player/s.
Hi.
I was wondering if anyone knew a tutorial (cause i cant find one) or could show a script that chooses a random (or more) player(s) at new round (of course reseted at round end). |
Re: Random player/s.
It will help you : http://forums.alliedmods.net/showthread.php?t=74666
|
Re: Random player/s.
take a look into my deathrun manager :)
|
Re: Random player/s.
PHP Code:
|
Re: Random player/s.
Quote:
Also that's just a bad way. |
Re: Random player/s.
PHP Code:
|
Re: Random player/s.
padilha's way is only good if you want 1 player.
If you want random players, see the tutorial that arkshine gave. |
Re: Random player/s.
Quote:
Quote:
PHP Code:
|
Re: Random player/s.
Code:
|
Re: Random player/s.
I don't know why you guys are using set_task() and recursion when a simple while loop would be more efficient.
hleV, do you not see the problem with that? Since player indexes aren't necessarily consecutive, you're far from guaranteed to hit a connected player. |
| All times are GMT -4. The time now is 23:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.