I asked this before and IIRC, execution does not continue across an AND if the first condition is false. You could try to find my post and see what the answer was for sure.
You could even test it. Change "i" to an invalid player and run the code with g_mode = 0. If you get an error then it does execute, if no error then it doesn't execute.
Quote:
Originally Posted by GordonFreeman (RU)
you try to filtre "is user spectated or unassigned team"?
cs_get_user_team return team index
if teamindex>0 then it will be true
|
Nothing you said has anything to do with his question.
__________________