Jump to content
GIGN Forum

Csdm Glowe


Recommended Posts

karo4 neesmu majas un nevaru atbildeet pilniiba noteikti, bet izskatas, ka csdm_protection.sma shiis rindinas taisa to, ko tev nevajag..:

SetProtection(id)
{
    if (g_Protected[id])
        remove_task(g_Protected[id])
        
    if (!is_user_connected(id))
        return
        
    new team = get_user_team(id)
    
    if (!IsValidTeam(team))
    {
        return
    }

    set_task(g_ProtTime, "ProtectionOver", id)
    g_Protected[id] = id
    
    set_rendering(id, kRenderFxGlowShell, g_ProtColors[team][0], g_ProtColors[team][1], g_ProtColors[team][2], kRenderNormal, g_GlowAlpha[team])
    set_pev(id, pev_takedamage, 0.0)
}

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...