Switch teams after 3 rounds
This code is from Jon, I tried to edit it for my needs but I just don't know enough (trying to learn) to get it to do what I want it to do. I tried sending the server cmds in a few parts in the code, it works, but the timing is wrong, and I don't know if this is best option.
- After 3 rounds I need it to change team and I want a cvar to be set "ajc_team <1|2>" and also "pb_bot_join_team <T|CT>" (i.e. CT(humans) changes to T, ajc_team = 1 pb_bot_join_team = CT) I want this to happen each time the code changes team every 3 rounds, so the next cmds would be (i.e. T(humans) changes to CT, ajc_teams = 2 pb_bot_join_team = T) I hope this makes since. You don't have to right full code if you don't want, I can try to learn myself, only maybe some hints/tips so I can finally figure this out, thank you. PHP Code:
|
| All times are GMT -4. The time now is 04:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.