This will fix any cheaters and back stabbers on your map. It's a big ass trigger to function not being able to attack allies. Basically what it is saying is that if a unit of a player is attacked by an ally, the triggering unit will be paused for five game-seconds and then unpaused.
Have fun!
Code:
allies cant attack allies
Events
Unit - A unit owned by Player 12 (Brown) Is attacked
Unit - A unit owned by Player 11 (Dark Green) Is attacked
Unit - A unit owned by Player 10 (Light Blue) Is attacked
Unit - A unit owned by Player 9 (Gray) Is attacked
Unit - A unit owned by Player 8 (Pink) Is attacked
Unit - A unit owned by Player 7 (Green) Is attacked
Unit - A unit owned by Player 6 (Orange) Is attacked
Unit - A unit owned by Player 5 (Yellow) Is attacked
Unit - A unit owned by Player 4 (Purple) Is attacked
Unit - A unit owned by Player 3 (Teal) Is attacked
Unit - A unit owned by Player 1 (Red) Is attacked
Unit - A unit owned by Player 2 (Blue) Is attacked
Conditions
((Triggering player) is an ally of Player 12 (Brown)) Equal to True
((Triggering player) is an ally of Player 11 (Dark Green)) Equal to True
((Triggering player) is an ally of Player 10 (Light Blue)) Equal to True
((Triggering player) is an ally of Player 9 (Gray)) Equal to True
((Triggering player) is an ally of Player 8 (Pink)) Equal to True
((Triggering player) is an ally of Player 7 (Green)) Equal to True
((Triggering player) is an ally of Player 6 (Orange)) Equal to True
((Triggering player) is an ally of Player 5 (Yellow)) Equal to True
((Triggering player) is an ally of Player 4 (Purple)) Equal to True
((Triggering player) is an ally of Player 3 (Teal)) Equal to True
((Triggering player) is an ally of Player 2 (Blue)) Equal to True
((Triggering player) is an ally of Player 1 (Red)) Equal to True
Actions
Unit - Pause (Triggering unit)
Wait 5.00 game-time seconds
Unit - Unpause (Triggering unit)
Have fun!