Raised This Month: $ Target: $400
 0% 

Set view model rendering ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 09-20-2011 , 10:07   Set view model rendering ?
Reply With Quote #1

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]
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2011 , 10:08   Re: Set view model rendering ?
Reply With Quote #2

Without changing model, you simply can't. Something you could change only client-side.
__________________
Arkshine is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 09-20-2011 , 10:53   Re: Set view model rendering ?
Reply With Quote #3

Is there anyway to change constantly model without lag
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 09-20-2011 , 23:32   Re: Set view model rendering ?
Reply With Quote #4

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.
__________________
Hunter-Digital is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 09-21-2011 , 06:00   Re: Set view model rendering ?
Reply With Quote #5

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
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 09-21-2011 , 06:34   Re: Set view model rendering ?
Reply With Quote #6

Quote:
Originally Posted by dias View Post
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
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 09-21-2011 , 06:50   Re: Set view model rendering ?
Reply With Quote #7

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
Backstabnoob is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 09-21-2011 , 07:59   Re: Set view model rendering ?
Reply With Quote #8

@tuty:
- I saw a ghost plugin but ....

@Backstabnoob:
- Thank
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
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 19:42.


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