| daniel46 |
08-31-2012 12:02 |
problem
i have a JB days(mine i build it with my friend)and there is 1 problem
i have in my soccerjam day
its give auto team
freeze
and user origin
and when ct do the days so its give team to ct and some times freeze ct also
i did the days like this(this problem is on some other days to)
Code:
FootBall = true
for(new i = 0; i < g_max_clients; i++)
{
if(is_user_alive(i))
{
switch(cs_get_user_team(i))
{
case CS_TEAM_T:
{
set_user_rendering(i, kRenderFxGlowShell, 0, 255, 255, kRenderNormal, 20)
fm_set_user_health( i, 100 )
fm_strip_user_weapons(i)
set_pev(i, pev_flags, (pev(i, pev_flags) | FL_FROZEN));
}
case CS_TEAM_CT:
{
fm_set_user_godmode( i, 1 )
fm_give_item( i, "weapon_m4a1" )
fm_give_item(i,"weapon_deagle" )
cs_set_user_bpammo( i, CSW_M4A1, 9999 )
cs_set_user_bpammo( i, CSW_DEAGLE, 9999 )
}
}
}
}
}
its also got origin but my friend didnt allow me to post the origin and glow code so who can tell me the problem here????
|