AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Chaging Entity's Skin (Texture) (https://forums.alliedmods.net/showthread.php?t=187925)

Portalboat 06-19-2012 18:59

Chaging Entity's Skin (Texture)
 
I'm sure there's been a topic about this before, but I have to ask: Is there a way to change an entity's texture skin? Not their model, but just their skin?

Powerlord 06-19-2012 19:06

Re: Chaging Entity's Skin (Texture)
 
You have to use SetEntProp on the m_nSkin property to change it.

Portalboat 06-19-2012 19:17

Re: Chaging Entity's Skin (Texture)
 
I read somewhere that that wasn't the case, but okay. Haven't actually tested it.

Mitchell 06-20-2012 14:40

Re: Chaging Entity's Skin (Texture)
 
Quote:

Originally Posted by Portalboat (Post 1732027)
I read somewhere that that wasn't the case, but okay. Haven't actually tested it.

i use:
DispatchKeyValue( client, "Skin", "1" );
to get different skins on my player. im sure there might be an different way, but this is an easier to me.

Bacardi 06-20-2012 15:54

Re: Chaging Entity's Skin (Texture)
 
Model need support multiple "skin".


All times are GMT -4. The time now is 12:30.

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