Quote:
Originally Posted by eyal282
Hey. I remade your plugin and added the ability to choose which bot to replace. The list of bots will appear according to 80+ HP, 60+ HP, 40+ HP, 20+ HP, Above 0 HP, Incap, Jockeyed ( near incap ), Hanging ( Can't shoot... ), Pinned, Incap & Pinned. I'm a bad scripter in Sourcemod but it's working so why not posting it...
If someone has a server with !buy heal he can use this for players to choose who to take over.
Edit: I completely changed the sorting according to the tiers and health. It works so far but it testing isn't efficient with bots to be honest, I hope no bugs are found. Maybe the next thing to be made is to add black and white and incaps before black and white. If you have a formula that's fair enough to follow I'd love to see one. If you surely want a stable one don't choose the new one.
|
thx for ur change, it work pretty well except two things.
I only set l4d_takeover_autodeath 1 and autoincap is 0, when players is catched by smoker, they also receive the takeover menu, is there any way to close this function?
The second thing is when somebody is in idle and has a bot belong to him/her, other players also see that bot list on the takeover menu, if they select his/her bot, they just become a spectator, any way to fix the problem that avoid listing bot that belong to other idle player?