I have been working on a plugin for my server that I haven't been able to get right. I have been trying to learn how to understand code from looking at others work, but I still need lots & lots of time to understand all functions, and just so much I don't know right now, so to no surprise why I can't figure this out on my own.
I just need some code that can execute 2 server commands to change 2 CVARs 1 minute before each map changes. In addidtion though, I need the plugin to retrieve which team is human and which team is bot, and make the changes to CVARs accordingly:
If Human team is CT before map change, send server commands: "ajc_team 1" & "pb_bot_join_team CT" else
If Human team is T before map change, send server commands: "ajc_team 2" & "pb_bot_join_team T"
I hope this is possible, would greatly appreciate it
.