Code
function TrigAllVsAllAct takes nothing returns nothing
local integer i=0
local integer a=0
loop
exitwhen i>11
set a=0
loop
exitwhen a>11
if i!=a then
call SetPlayerAlliance(Player(i),Player(a),ALLIANCE_PASSIVE,false)
call SetPlayerAlliance(Player(i),Player(a),ALLIANCE_HELP_REQUEST,false)
call SetPlayerAlliance(Player(i),Player(a),ALLIANCE_HELP_RESPONSE,false)
call SetPlayerAlliance(Player(i),Player(a),ALLIANCE_SHARED_XP,false)
call SetPlayerAlliance(Player(i),Player(a),ALLIANCE_SHARED_SPELLS,false)
call SetPlayerAlliance(Player(i),Player(a),ALLIANCE_SHARED_VISION,false)
call SetPlayerAlliance(Player(i),Player(a),ALLIANCE_SHARED_CONTROL ,false)
call SetPlayerAlliance(Player(i),Player(a),ALLIANCE_SHARED_ADVANCED_CONTROL,false)
endif
set a=a+1
endloop
endif
set i=i+1
endloop
endfunction
function InitTrig_AllVsAll takes nothing returns nothing
set gg_trg_AllVsAll=CreateTrigger()
call TriggerRegisterPlayerChatEvent( gg_trg_AllVsAll,Player(0),"-ffa",true)
call TriggerAddAction(gg_trg_AllVsAll,function TrgAllVsAllAct)
endfunction
в событии укажи то что нужно