How to use Render Mode #437
-
I know that in CSGO/Sourcemod you could use SetEntityRenderColor and SetEntityRenderMode to Color the PlayerModel. I assume in CSS the same would be player.PlayerPawn.Value.Render = Color(255,0,0) and e.g. player.PlayerPawn.Value.RenderMode = RenderMode_t.kRenderTransColor i tried to color the model in combination with every RenderMode (in MM/Sourcemod i used TransColor) but can't seem to get it to work. Does anybody know, what i am doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Are you calling the set state changed method (which marks the field as needing update to clients)
|
Beta Was this translation helpful? Give feedback.
Are you calling the set state changed method (which marks the field as needing update to clients)
player.PlayerPawn.Value.Render = Color.FromArgb(255, 255, 255, 255);
Utilities.SetStateChanged(player.PlayerPawn.Value, "CBaseModelEntity", "m_clrRender");