AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Set view model rendering ? (https://forums.alliedmods.net/showthread.php?t=167798)

dias 09-20-2011 10:07

Set view model rendering ?
 
How to set the view model rendering, does it possible ? :).
Ex: We can set player invisible by set_user_rendering (fun module), but how to set that view model to invisible without change model ?

[IMG]http://img593.**************/img593/1105/123glm.png[/IMG]

Arkshine 09-20-2011 10:08

Re: Set view model rendering ?
 
Without changing model, you simply can't. Something you could change only client-side.

dias 09-20-2011 10:53

Re: Set view model rendering ?
 
Is there anyway to change constantly model without lag :up:

Hunter-Digital 09-20-2011 23:32

Re: Set view model rendering ?
 
You don't need to *constantly* change the model, you only need to set the model when you want to change it and hook when player draws the weapons that have the changed model.

These methods have been discussed, search.

dias 09-21-2011 06:00

Re: Set view model rendering ?
 
I have a idea to make a ghost mod, when the ghost visible the view model visible too. and invisible the view models invisible too. You understand :). Please show me what method to set view model

tuty 09-21-2011 06:34

Re: Set view model rendering ?
 
Quote:

Originally Posted by dias (Post 1559930)
I have a idea to make a ghost mod, when the ghost visible the view model visible too. and invisible the view models invisible too. You understand :). Please show me what method to set view model


searching is the key

Backstabnoob 09-21-2011 06:50

Re: Set view model rendering ?
 
When the change applies, change viewmodel and call client_cmd(id, "weapon_knife") // not sure if it is the right way to update a model - it would for sure work if the user had more than 1 weapon, but if it's only knife, I don't think it will get updated

dias 09-21-2011 07:59

Re: Set view model rendering ?
 
@tuty:
- I saw a ghost plugin but ....

@Backstabnoob:
- Thank :)


All times are GMT -4. The time now is 19:42.

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