Raised This Month: $ Target: $400
 0% 

[CS:GO] Disable weapon skins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dilalmon
AlliedModders Donor
Join Date: Apr 2013
Old 04-15-2015 , 12:40   [CS:GO] Disable weapon skins
Reply With Quote #1

Is there anyway to disable weapon skins?
dilalmon is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 04-15-2015 , 15:14   Re: [CS:GO] Disable weapon skins
Reply With Quote #2

Sure, use this as a base and check if player has a skin applied to his weapon, then you just use the stock to set his skin to none
__________________

Last edited by ecca; 04-15-2015 at 15:14.
ecca is offline
dilalmon
AlliedModders Donor
Join Date: Apr 2013
Old 04-15-2015 , 16:36   Re: [CS:GO] Disable weapon skins
Reply With Quote #3

I've tried. Some make it crash with the value of 0 or 1 (default skin).
dilalmon is offline
notMe2
Member
Join Date: Feb 2014
Old 04-15-2015 , 19:55   Re: [CS:GO] Disable weapon skins
Reply With Quote #4

Code:
SetEntProp(entity,Prop_Send,"m_iItemIDLow",0);
SetEntProp(entity,Prop_Send,"m_iItemIDHigh",0);
to the weapon, set it to 1 will crash

Last edited by notMe2; 04-15-2015 at 19:55.
notMe2 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-16-2015 , 00:22   Re: [CS:GO] Disable weapon skins
Reply With Quote #5

Quote:
Originally Posted by notMe2 View Post
Code:
SetEntProp(entity,Prop_Send,"m_iItemIDLow",0);
SetEntProp(entity,Prop_Send,"m_iItemIDHigh",0);
to the weapon, set it to 1 will crash
And the AccountID to 0, so it's not trying to look up item skins in a player's inventory.
Mitchell is offline
Reply



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 04:31.


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