Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void PlayerGroupDoSomething (playergroup g)
- {
- //playergroup g = PlayerGroupActive();
- int count;
- int player;
- for (count = PlayerGroupCount(g); count > 0; count-=1)
- {
- player = PlayerGroupPlayer(g,count);
- // Do something
- }
- }
- void PlayerGroupDoSomething (playergroup g)
- {
- //playergroup g = PlayerGroupActive();
- PlayerGroupLoopBegin(g);
- while (!PlayerGroupLoopDone()) {
- PlayerGroupLoopStep();
- // Do something with PlayerGroupLoopCurrent ();
- }
- PlayerGroupLoopEnd();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement