Quote:
Originally Posted by Unkolix
!t - team color, if you are terrorist, it will be red, if you are ct, it will be blue, if spec it will be grey...
I want them no mather what team you are in.
|
before you call this color stock, set player for example to terrorist team if you want read
then skip one frame, call color stock, skip one frame and then set him back his old team.
what i mean by skiping frame is for example
public something()
set_player_team
set_task( 0.1, "color_stock" )
public color_stock()
color_stock_call
set_task( 0.1, "back_to_old_team" )
public back_to_old_team()
set_player_team(oldteam)
set task is too slow for that, client_prethink is fine.