AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [H3LP] Change the weapon model (https://forums.alliedmods.net/showthread.php?t=334450)

iceeedr 09-25-2021 09:52

[H3LP] Change the weapon model
 
Hi, how are you all, I hope you are well!

Let's go, assuming I define the weapon model v_ like this:

Code:

set_pev(id, pev_viewmodel2, skin[SKIN_MODEL]);
How to make the player that is dead/spec doesn't see the custom model, but the game default.

By the way I already have a variable storing the default models, example below.

Code:

set_pev(id, pev_viewmodel2, defaultSkin)
Thanks in advance.

Shadows Adi 09-25-2021 12:54

Re: [H3LP] Change the weapon model
 
I just re-read your request.
Not possible from what I know.

Natsheh 09-25-2021 13:39

Re: [H3LP] Change the weapon model
 
It is possible but its a walk around method that i am not going to explain it, anyway it will be better if you explained why you want to achieve this type of thing?

iceeedr 09-25-2021 21:32

Re: [H3LP] Change the weapon model
 
Quote:

Originally Posted by Natsheh (Post 2758855)
It is possible but its a walk around method that i am not going to explain it, anyway it will be better if you explained why you want to achieve this type of thing?

I would appreciate it if you would help me with your knowledge, the explanation is as follows, the server will contain the option to buy custom skins (models) for the weapons, but we are aware that even in 2021, some players have a pc that borders on the ridiculous , and for that we created a command (/models) that activates/deactivates the player's screen models to decrease this fps drop, the problem is that this player, when dying, ends up viewing the skins of other players, which often ends up crashing your game.

thEsp 10-01-2021 14:10

Re: [H3LP] Change the weapon model
 
What I believe you're looking for is indeed possible and can be achieved through AddToFullPack. Take a look at this thread: https://forums.alliedmods.net/showthread.php?t=100862.


All times are GMT -4. The time now is 11:40.

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