Raised This Month: $51 Target: $400
 12% 

Set texture for a model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FatalError
Junior Member
Join Date: Jan 2012
Location: Hungary/Budapest
Old 09-16-2013 , 02:37   Set texture for a model
Reply With Quote #1

Hello.
No code for set skin for model? I mean if a model contain more textures than 1 can i set it with a plugin for players? If yes, can i get this code? Thanks. (Sorry I'm not an English pro.)
Attached Thumbnails
Click image for larger version

Name:	skin.jpg
Views:	102
Size:	6.2 KB
ID:	125877  
FatalError is offline
Send a message via Skype™ to FatalError
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 09-16-2013 , 04:31   Re: Set texture for a model
Reply With Quote #2

you need code ? search (in plugins titles) a paintball and a jailbreak plugins. both of them have this ability.
__________________
ANTICHRISTUS is offline
FatalError
Junior Member
Join Date: Jan 2012
Location: Hungary/Budapest
Old 09-16-2013 , 08:23   Re: Set texture for a model
Reply With Quote #3

Thanks. And it's work at view weapon models?
FatalError is offline
Send a message via Skype™ to FatalError
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 09-16-2013 , 08:46   Re: Set texture for a model
Reply With Quote #4

Found this in xpaw pev research (fakemeta):
Quote:
Originally Posted by xPaw
pev_skin Integer 0.000000 Selects the skin the model displays. Most models only have 1 skin (skin 0).
Usage:
Code:
set_pev( entity_with_a_model, pev_skin, number_of_skin );
__________________

Last edited by simanovich; 09-16-2013 at 08:51.
simanovich is offline
FatalError
Junior Member
Join Date: Jan 2012
Location: Hungary/Budapest
Old 09-16-2013 , 12:46   Re: Set texture for a model
Reply With Quote #5

Thank you. Good. But it's works for v_ models?
FatalError is offline
Send a message via Skype™ to FatalError
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 09-16-2013 , 14:49   Re: Set texture for a model
Reply With Quote #6

Quote:
Originally Posted by FatalError View Post
Thank you. Good. But it's works for v_ models?
v models are set and stored in the player entity, not the weapon, so i think it's impossible
__________________
simanovich is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 09-16-2013 , 21:40   Re: Set texture for a model
Reply With Quote #7

v_ model properties are handled client side, so no
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 09-17-2013 , 05:17   Re: Set texture for a model
Reply With Quote #8

and what about p_ models (and w_ ones too) ? I already saw a p_ model having a lot of sub-models.
__________________
ANTICHRISTUS is offline
FatalError
Junior Member
Join Date: Jan 2012
Location: Hungary/Budapest
Old 09-17-2013 , 05:52   Re: Set texture for a model
Reply With Quote #9

Quote:
Originally Posted by ANTICHRISTUS View Post
and what about p_ models (and w_ ones too) ? I already saw a p_ model having a lot of sub-models.
You can
__________________
Counter Strike Online every day.
Region: Singapore/Malaysia.
IGN: FvckAsRELOADED
Level: 56

And when I don't play cso, MAKE MY CSO TDM SERVER IN 1.6
FatalError is offline
Send a message via Skype™ to FatalError
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 06:08.


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