Raised This Month: $7 Target: $400
 1% 

[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.
Attached Files
File Type: sp Get Plugin or Get Source (removeHeavy.sp - 379 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
Sarrus
Member
Join Date: May 2020
Location: France
Old 10-26-2020 , 14:12   Re: [CSGO Snippet] Give+Remove Heavy Assault Suit
Reply With Quote #2

Hello, thanks for this, however the link is no longer valide, do you still have that snippet please?

Thanks!
__________________
Discord Coding Server | Steam Profile | Community Website | Github Profile

Taking paid requests (add me on Discord)
Sarrus is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-09-2020 , 10:29   Re: [CSGO Snippet] Give+Remove Heavy Assault Suit
Reply With Quote #3

Quote:
Originally Posted by Sarrus View Post
Hello, thanks for this, however the link is no longer valide, do you still have that snippet please?

Thanks!
I believe the link just leads to the source code which he already attached to his post.
__________________
Psyk0tik is offline
Sarrus
Member
Join Date: May 2020
Location: France
Old 12-05-2020 , 19:20   Re: [CSGO Snippet] Give+Remove Heavy Assault Suit
Reply With Quote #4

Quote:
Originally Posted by Crasher_3637 View Post
I believe the link just leads to the source code which he already attached to his post.
The file wasn't there when I posted this, but I got it now thanks
__________________
Discord Coding Server | Steam Profile | Community Website | Github Profile

Taking paid requests (add me on Discord)
Sarrus 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 00:36.


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