Raised This Month: $170 Target: $400
 42% 

[CSGO Snippet] Give+Remove Heavy Assault Suit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 05-20-2018 , 19:02   [CSGO Snippet] Give+Remove Heavy Assault Suit
Reply With Quote #1

Simple plugin to give/remove it: https://github.com/Bara/TroubleinTer...removeHeavy.sp

Some explanations:
m_bHasHeavyArmor - For Overlay, Speed and (maybe - I'm not sure) Weapon Restriction
m_bWearingSuit - For Armor icon and (maybe - I'm not sure) Weapon Restriction
m_ArmorValue - To reset armor back to 0
And if you want to reset client model, use GetClientModel before you give item_heavyassaultsuit.

(Primary) Weapons that works with heavy assault suit: p90, m249, negev, nova, xm1014, sawedoff, mag7, mac10, mp9, mp7, ump45 and bizon
All secondary weapons works fine.

Thanks to IAmCow for the tip with m_bHasHeavyArmor.
__________________

Last edited by Bara; 05-21-2018 at 08:28.
Bara is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:06.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode