Raised This Month: $51 Target: $400
 12% 

[CSGO Snippet] Give+Remove Heavy Assault Suit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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.
Attached Files
File Type: sp Get Plugin or Get Source (removeHeavy.sp - 391 views - 1.3 KB)
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.

Last edited by Bara; 10-26-2020 at 18:07.
Bara is offline
 



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 16:34.


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