change body skin on arms model

FUNPLAYpro

Участник
Сообщения
3
Реакции
0
Hello when i set e.g. this arms model via
C-подобный:
SetEntPropString(client, Prop_Send, "m_szArmsModel", "arms/path");
and try change body skin via

C-подобный:
int predicted_viewmodel = GetEntPropEnt(client, Prop_Send, "m_hViewModel");
SetEntProp(predicted_viewmodel, Prop_Send, "m_nSkin", 1);
or
C-подобный:
DispatchKeyValue(predicted_viewmodel, "skin", "1");
it does not work, how to change amrs model skin?
 

RusJJ

Доброе утро девачьки
Сообщения
2,582
Реакции
1,075
@FUNPLAYpro, you can't. Predicted Viewmodel - Weapon model. Player's arms are client-sided.
 

FUNPLAYpro

Участник
Сообщения
3
Реакции
0
ok i make custom viewmodel but how to fix this (hidding model in wall)?
 
Последнее редактирование модератором:
Сверху Снизу