JS-скрипт Ищу скрипт Need Help For (OTC js) DT

Начинающий
Статус
Оффлайн
Регистрация
30 Сен 2020
Сообщения
3
Реакции[?]
0
Поинты[?]
0
Hey Friend i want help with javascript i want to make a js which gets the target enemy heath and if enemy health is 100 so make the min damage 50 like wise if health is lower that this so min damage should become half of targeted player health.
when the enemy player health is lower than 50 so the min damage become 15 .
This is FOR ONLY AUTO please help me with this concept this will make otc dt lethal.
:hearteyes:
 
Just some bloke coding garbage
Пользователь
Статус
Оффлайн
Регистрация
26 Окт 2020
Сообщения
122
Реакции[?]
57
Поинты[?]
0
Hey Friend i want help with javascript i want to make a js which gets the target enemy heath and if enemy health is 100 so make the min damage 50 like wise if health is lower that this so min damage should become half of targeted player health.
when the enemy player health is lower than 50 so the min damage become 15 .
This is FOR ONLY AUTO please help me with this concept this will make otc dt lethal.
:hearteyes:
Its quite simple actually. First u need to get the enemies_index youre gonna target. There are 2 ways being: Ragebot.GetTarget() or simply take all indexes and apply the logic to all of them. Personally I would use the second methode since u only get the ragebot target when the cheat is already firing. To get the health of the enemy u need to use props (
Пожалуйста, авторизуйтесь для просмотра ссылки.
). U use the Entity.GetProp function to get the specific prop u need, in this case m_iHealth from the CCSPlayerResource. Now u need to apply some logic that divides the health and applies the min damage (I would use Ragebot.ForceTargetMinimumDamage()). The rest is up to you
 
Начинающий
Статус
Оффлайн
Регистрация
30 Сен 2020
Сообщения
3
Реакции[?]
0
Поинты[?]
0
Its quite simple actually. First u need to get the enemies_index youre gonna target. There are 2 ways being: Ragebot.GetTarget() or simply take all indexes and apply the logic to all of them. Personally I would use the second methode since u only get the ragebot target when the cheat is already firing. To get the health of the enemy u need to use props (
Пожалуйста, авторизуйтесь для просмотра ссылки.
). U use the Entity.GetProp function to get the specific prop u need, in this case m_iHealth from the CCSPlayerResource. Now u need to apply some logic that divides the health and applies the min damage (I would use Ragebot.ForceTargetMinimumDamage()). The rest is up to you
Thank you soo much
i still need some kind of help _Mujtaba Ali#1337_ this is my discord contact me or drop yours i will contact you
<3
i think this code is not how it should be i doubt that this works :)
 
Just some bloke coding garbage
Пользователь
Статус
Оффлайн
Регистрация
26 Окт 2020
Сообщения
122
Реакции[?]
57
Поинты[?]
0
Сверху Снизу