How to edit this (JJ CP)

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

qwertz111
Senior Member
Posts: 113
Joined: March 1st, 2007, 8:22 pm

How to edit this (JJ CP)

Post by qwertz111 »

elseif SubString(s2s,0,6)=="-ally "and S2I(SubString(s2s,6,8))<16 and S2I(SubString(s2s,6,8))>-1then
call SetPlayerAllianceStateAllyBJ(p2p,Player(S2I(SubString(s2s,6,8))),true)
call SetPlayerAllianceStateAllyBJ(Player(S2I(SubString(s2s,6,8))),p2p,true)
call SetPlayerAllianceStateVisionBJ(Player(S2I(SubString(s2s,6,8))),p2p,true)
elseif SubString(s2s,0,8)=="-unally "and S2I(SubString(s2s,8,10))<16 and S2I(SubString(s2s,8,10))>-1then
call SetPlayerAllianceStateAllyBJ(p2p,Player(S2I(SubString(s2s,8,10))),false)
call SetPlayerAllianceStateAllyBJ(Player(S2I(SubString(s2s,8,10))),p2p,false)

I need the -ally command to not force the enemy to ally the user of the command.

I also need the -unally command to not force the enemy to unally the user of the command.
Slickslime
Forum Staff
Posts: 543
Joined: October 7th, 2008, 5:41 am

Re: How to edit this (JJ CP)

Post by Slickslime »

im not sure but wouldn't it be to delete
Spoiler:
"call SetPlayerAllianceStateAllyBJ(Player(S2I(SubString(s2s,6,8))),p2p,true)"
And
"call SetPlayerAllianceStateAllyBJ(Player(S2I(SubString(s2s,8,10))),p2p,false)"