Raised This Month: $ Target: $400
 0% 

[CS:GO] Hide new arms?


Post New Thread Reply   
 
Thread Tools Display Modes
PUNKSNOTDEAF
Junior Member
Join Date: Oct 2015
Old 12-16-2016 , 11:11   Re: [CS:GO] Hide new arms?
Reply With Quote #81

thats on purpose. it would stick inside ur own viewmodel. others will see you tho.
PUNKSNOTDEAF is offline
durinn
Junior Member
Join Date: Dec 2016
Old 12-21-2016 , 08:29   Re: [CS:GO] Hide new arms?
Reply With Quote #82

up, the problem is not solved yet.
durinn is offline
m8y
New Member
Join Date: Jun 2016
Old 12-25-2016 , 22:56   Re: [CS:GO] Hide new arms?
Reply With Quote #83

Guys how do I make gloves from the market visible on my knife server? :^(

I'm not using any plugins forbidden by volvo (!knife, !ws,, !gloves, etc)

Players with no skins/gloves play with default skins/gloves.

Yet wraps and gloves don't appear in-game, only default gloves.

I created a .kv file for every map on the server. It looks like this:

"MAP_NAME"
{
"name" "MAP_NAME"
"t_arms" "models/weapons/t_arms_phoenix.mdl"
"ct_arms" "models/weapons/ct_arms_sas.mdl"
"t_models"
{
"tm_phoenix" ""
"tm_phoenix_variantA" ""
"tm_phoenix_variantB" ""
"tm_phoenix_variantC" ""
"tm_phoenix_variantD" ""
}
"ct_models"
{
"ctm_sas" ""
"ctm_sas_variantA" ""
"ctm_sas_variantB" ""
"ctm_sas_variantC" ""
"ctm_sas_variantD" ""
"ctm_sas_variantE" ""
}
}
m8y is offline
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 12-25-2016 , 23:16   Re: [CS:GO] Hide new arms?
Reply With Quote #84

Quote:
Originally Posted by m8y View Post
~Snip~
Read the thread...
Addicted. is offline
m8y
New Member
Join Date: Jun 2016
Old 12-25-2016 , 23:21   Re: [CS:GO] Hide new arms?
Reply With Quote #85

Quote:
Originally Posted by oaaron99 View Post
Read the thread...
Seems like you don't know how to fix it
m8y is offline
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 12-26-2016 , 12:58   Re: [CS:GO] Hide new arms?
Reply With Quote #86

Quote:
Originally Posted by m8y View Post
Seems like you don't know how to fix it
I have it working perfectly fine with information I got from this thread
Addicted. is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 12-31-2016 , 07:01   Re: [CS:GO] Hide new arms?
Reply With Quote #87

Can somebody tell wich props from DT_WearableItem table must be modified? Thanks.

Last edited by ZASTRELIS; 12-31-2016 at 07:01.
ZASTRELIS is offline
Sw33T3R
AlliedModders Donor
Join Date: Mar 2014
Old 01-01-2017 , 16:31   Re: [CS:GO] Hide new arms?
Reply With Quote #88

Any new news guys?
Any ideas how to fix it?
Sw33T3R is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 01-02-2017 , 02:32   Re: [CS:GO] Hide new arms?
Reply With Quote #89

no ideas.. only one who can fix it by netprops has it in private version.
ZASTRELIS is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 01-08-2017 , 03:38   Re: [CS:GO] Hide new arms?
Reply With Quote #90

Finally I have time for testing so since nobody want to share a working solution, I share here my results with everybody <3
PHP Code:
#include <sourcemod>
#include <sdktools>
#include <cstrike>

public void OnPluginStart() {
    
    
RegAdminCmd("sm_test13"DIDADMFLAG_ROOT); // type !test13 in chat if you have root access.
}

public 
Action DID(int clientint args
{
    
int item GetEntPropEnt(clientProp_Send"m_hActiveWeapon");
    
    
SetEntPropEnt(clientProp_Send"m_hActiveWeapon", -1);
    
    
Handle ph=CreateDataPack();
    
WritePackCell(phEntIndexToEntRef(client));
    
WritePackCell(phEntIndexToEntRef(item));
    
CreateTimer(0.15AddItemTimerphTIMER_FLAG_NO_MAPCHANGE);
            
    new 
ent GivePlayerItem(client"wearable_item");
    if (
ent != -1)
    {
        
SetEntProp(entProp_Send"m_iItemDefinitionIndex"5033);
        
SetEntProp(entProp_Send"m_iItemIDLow", -1);
        
SetEntProp(entProp_Send"m_iEntityQuality"4);
        
        
SetEntPropFloat(entProp_Send"m_flFallbackWear"0.00000001);
        
        
SetEntProp(entProp_Send,  "m_iAccountID"GetSteamAccountID(client));
        
        
SetEntProp(entProp_Send,  "m_nFallbackSeed"0);
        
SetEntProp(entProp_Send,  "m_nFallbackStatTrak", -1);
        
SetEntProp(entProp_Send,  "m_nFallbackPaintKit"10026);
        
        if (!
IsModelPrecached("models/weapons/v_models/arms/glove_motorcycle/v_glove_motorcycle.mdl"))PrecacheModel("models/weapons/v_models/arms/glove_motorcycle/v_glove_motorcycle.mdl");
        
        
SetEntProp(entProp_Send"m_nModelIndex"PrecacheModel("models/weapons/v_models/arms/glove_motorcycle/v_glove_motorcycle.mdl"));
        
SetEntityModel(ent"models/weapons/v_models/arms/glove_motorcycle/v_glove_motorcycle.mdl");

        
SetEntPropEnt(clientProp_Send"m_hMyWearables"ent);
    }  

    return 
Plugin_Handled;
}

public 
Action AddItemTimer(Handle timerany ph)
{  
    
int clientitem;
    
    
ResetPack(ph);
    
    
client EntRefToEntIndex(ReadPackCell(ph));
    
item EntRefToEntIndex(ReadPackCell(ph));
    
    if (
client != INVALID_ENT_REFERENCE && item != INVALID_ENT_REFERENCE)
    {
        
SetEntPropEnt(clientProp_Send"m_hActiveWeapon"item);
    }

Result with some side effects but you can see a gloves on your viewmodel: http://steamcommunity.com/sharedfile.../?id=837671085


I will continue testing and try to remove side effects, any help are welcome <3
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 01-08-2017 at 04:09.
Franc1sco is offline
Send a message via MSN to Franc1sco
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 03:48.


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