Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // OBJECTIVE:
- // if (foo == 1) team 1 players don't die
- player = find(world, classname, "player");
- while (player)
- {
- if (player.team_no == 1)
- {
- if(foo == 1)
- return;
- // break? or continue?
- // if foo is true, go onto the next player
- }
- else
- if (player.team_no == 2)
- {
- }
- T_Damage(player, other, other,1000,0,#TF_TD_OTHER);
- player = find(player, classname, "player");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement