View Single Post
Midnight Kid
Member
Join Date: Aug 2017
Location: Chornobay, Ukraine
Old 03-14-2024 , 10:12   Re: Healthkit on dead body
Reply With Quote #100

bamaofc,
0. Better hide the code under the spoiler or delete it from comment, otherwise you risk getting admin warning.
1. Read about the cvar kit_pick in the description. What you want is done by kit_pick 1, because as far as I understood your comment, it's about killing the opponent regardless of the team.
(Maybe, it was be better to rewrite the code to hook team IDs, but since there are only 2 playing teams (Ts & CTs), I left the original idea from users 731 and sb123.)
2. Interesting idea about "player suicide", it wouldn't hurt to add a separate cvar for on / off that.
To be honest, at one time it was additionally planned to add anti-medkits, disguise their under traditional glow colors, so that players hesitated whether to take them or not? But it takes time, and since 2020, for some reason, I stopped in Counter-Strike modding. So, if I find free time, I'll report the results later.

Last edited by Midnight Kid; 03-14-2024 at 10:14.
Midnight Kid is offline