Hello.
I 've code this plugin for Terrorist : When they stand still, they will be invisible. When they move, they will be visible.
Here is the code :
Code:
if(cs_get_user_team(player1) == CS_TEAM_T)
{
if(get_user_maxspeed(player1) == 0)
{
set_user_rendering(player1,kRenderFxNone,0,0,0,kRenderTransAlpha,0)
}
if(get_user_maxspeed(player1) > 1)
{
set_user_rendering(player1,kRenderFxNone,0,0,0,kRenderTransAlpha,50)
}
But in game, player are always visible when they stand still
Can anyone help me