Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void SetPlayerGroupAlliance (playergroup allyGroup, int allyType) {
- int index1 = 1;
- int index2;
- while (index1 <= PlayerGroupCount(allyGroup)) {
- index2 = 1;
- while (index2 <= PlayerGroupCount(allyGroup)) {
- if (index1 != index2) {
- PlayerSetAlliance(PlayerGroupPlayer(allyGroup,index1),allyType,PlayerGroupPlayer(allyGroup,index2),true);
- }
- index2+=1;
- }
- index1+=1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement