How can I do only 1 Terrorist?
Hello again. I want to know how can I do just one terrorist? Example, when the random player has been choosed, the other players except the random player will change the team to CT, like on ZP.
I tried this code: PHP Code:
|
Re: How can I do only 1 Terrorist?
Move this line:
PHP Code:
The is_user_alive condition is useless in this case because you already have flag "a" in get_players, so every player in the array is guaranteed to be alive. In your set_task you have the flag "a", which means "repeat X amount of time" and 1 as the amount of times to repeat, which is already the default scenario with set_task, and since all your other parameters are empty you can just write it like this: PHP Code:
|
Re: How can I do only 1 Terrorist?
I'm sorry, but I tried this code and it worked:
PHP Code:
So thank you for helping me! |
| All times are GMT -4. The time now is 07:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.