Raised This Month: $ Target: $400
 0% 

[TF2] Setting Class Render Color


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MLGsuperGame
Member
Join Date: Mar 2012
Location: Jamaica
Old 01-18-2016 , 18:26   [TF2] Setting Class Render Color
Reply With Quote #1

I'm attempting make snipers a bit less transparent to make them blend in better, I cant seem to get it right though, this is what I'm working with, can I get any assistance? This block is from player_spawn event. Im simply trying to run a check to see if the players class is sniper and if it is change their render color.

Code:
 new IsSniper = TF_GetClass("sniper")
 if IsSniper = true
  SetEntityRenderColor(client, 100, 100, 100, 100)
__________________
MLGsuperGame is offline
 



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 00:15.


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