PODBot and the cs_set_team function
Hi. I using the function cs_set_user_team(AMXX) on players while they are alive to switch team and my problem is that it mess up the bot's targeting (it does not know which one is friendly.) Can anyone help me out?
|
Re: PODBot and the cs_set_team function
Respawn the player after using cs_set_user_team and the info about teams will be also sent to the bots. If is not - the bot is thinking the team of the player is from the moment before using at him cs_set_user_team.
|
Re: PODBot and the cs_set_team function
That sorta fixes my problem. This time I changed team, respawned the player, and move the bot back to its original origin, code below. Anyways the attacker wont stop attacking the victim until the attacker "lost sight" of the victim.
PHP Code:
|
All times are GMT +2. The time now is 15:46. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.