AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   pev_body question (https://forums.alliedmods.net/showthread.php?t=325923)

Shadows Adi 07-11-2020 06:56

pev_body question
 
Hello,
I was trying to ge the view model index from a v_ model with one from sub-models, using this way:
Code:
new owner = get_pdata_cbase(weapon_ent, 41, 4); set_pev(owner, pev_viewmodel2, "model path);             set_pev(owner, pev_body, sub_model_index);
Is there any other way to get the sub-model index to show it?
And... yea... client prediction

HamletEagle 07-11-2020 07:27

Re: pev_body question
 
You will have to disable prediction and recode the weapon in a plugin. Too much trouble for questionable results.

Shadows Adi 07-11-2020 07:31

Re: pev_body question
 
Alright, then it will work if I use pev_skin instead of pev_body ?

Shadows Adi 07-13-2020 09:31

Re: pev_body question
 
Up, some answers?

thEsp 07-13-2020 09:53

Re: pev_body question
 
Quote:

Originally Posted by Shadows Adi (Post 2709963)
Up, some answers?

Waiting 2 days for bumping a thread is too much ain't it?

CrazY. 07-13-2020 09:56

Re: pev_body question
 
There are two known ways. The first is basically what everyone else already does; replace the default model of the weapon.

The second is this https://forums.alliedmods.net/showthread.php?t=287754

Good luck.

Shadows Adi 07-13-2020 11:34

Re: pev_body question
 
Quote:

Originally Posted by CrazY. (Post 2709968)

Thanks, I will try.

Two days, yea, it's too much...


All times are GMT -4. The time now is 13:57.

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