pytanko
Ojciec Dyrektor
21.07.2010
Mam takie pytanie
jak ustawić w pluginie aby tylko jedna z drużyn miała np 200 gravity, a druga standardowo 800 ??
jak ustawić w pluginie aby tylko jedna z drużyn miała np 200 gravity, a druga standardowo 800 ??
Lukasz5
21.07.2010
for(new i = 1;i<33;i++) { if(cs_get_user_team(i) == CS_TEAM_CT lub T) {
R3X
22.07.2010
public Set_Gravity(id){ if(cs_get_user_team(id) && CS_TEAM_T) set_user_gravity(0, 0.2) if(cs_get_user_team(id) && CS_TEAM_CT) set_user_gravity(0, 0.8) }pewnie chodziło Ci o & tam gdzie użyłeś &&
a w ogóle to ten event jest globalny, wiec id nie dostaje
hardbot 22.07.2010
Zawsze używam && i działapublic Set_Gravity(id){ if(cs_get_user_team(id) && CS_TEAM_T) set_user_gravity(0, 0.2) if(cs_get_user_team(id) && CS_TEAM_CT) set_user_gravity(0, 0.8) }pewnie chodziło Ci o & tam gdzie użyłeś &&
a w ogóle to ten event jest globalny, wiec id nie dostaje
G[o]Q
22.07.2010
public Set_Gravity(id){ if(cs_get_user_team(id) & CS_TEAM_T) set_user_gravity(0, 0.2) if(cs_get_user_team(id) & CS_TEAM_CT) set_user_gravity(0, 0.8) }
pomijajac fakt ze powinien byc operator bitowy to 0.8 to nie gravity 800 tylko 720