Jump to content
  • 0

Resu kill abuse 2 tyms in certain maps


dize11

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

I have turn on in all pvp maps so i want it for certain maps only and warped to save point

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 1

  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  


OnInit:

set .maplist$, "|map1|map2|map3|map4|";

end;

OnPCDieEvent:

if( !compare(.maplist$,"|"+strcharinfo(3)+"|") )

end; set(@life,@life+1); if( @life > 1 )

{ warp "SavePoint",0,0; set(@life,0); } end;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

More info please... I'm not sure what you mean because when you die twice in a pvp room it warps to back to you save anyways.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

I have activated the option that when u die in pvp maps ull be warped at saved map but now i have activated pvp in all map so ill want to configure that into certain maps only by the way im using ea mod

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  


OnPCDieEvent:

if( strcharinfo(3) == "mapname" ){

warp "SavePoint",0,0;

}

end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

can be if he died twice autokick

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

OnInit:
	set .maplist$, "|map1|map2|map3|map4|";
	end;

OnPCDieEvent:
	if( !compare(.maplist$,"|"+strcharinfo(3)+"|") )
	end; set(@life,@life+1); if( @life > 1 )
	{ warp "SavePoint",0,0; set(@life,0); } end;

How can i put in this script because not working if ill make another script file

 

OnPCDieEvent:
getmapxy .@map$, .@x, .@y, 0;
for( set .@i, 0; .@i < getarraysize(.pvpmap$); set .@i, .@i+1 ) {
if( .@map$ == .pvpmap$[.@i] ) {
if ( #CASHPOINTS <= 0 ) end;
set #CASHPOINTS,#CASHPOINTS-1;
dispbottom "You have lose 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points.";
}
}
end;

OnInit:
setarray .pvpmap$[0],"guild_vs2","pvp_y_8-2","guild_vs1","guild_vs3","guild_vs4","guild_vs5","guild_vs1-2","1@orcs";
setarray .announcements$[0],"was killed by","was violated by","was owned by";
end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Try : 

OnPCDieEvent:
    getmapxy .@map$, .@x, .@y, 0;
    for( set .@i, 0; .@i < getarraysize(.pvpmap$); set .@i, .@i+1 ) {
        if( .@map$ == .pvpmap$[.@i] ) {
            set @life, @life + 1;
            if ( @life > 1 ) {
                warp "SavePoint",0,0;
            }
            if ( #CASHPOINTS <= 0 ) end;
            set #CASHPOINTS,#CASHPOINTS-1;
            dispbottom "You have lose 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points.";
        }
    }
    end;

OnInit:
    setarray .pvpmap$[0],"guild_vs2","pvp_y_8-2","guild_vs1","guild_vs3","guild_vs4","guild_vs5","guild_vs1-2","1@orcs";
    setarray .announcements$[0],"was killed by","was violated by","was owned by";
    end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

Once ill killed me twice at 1st time in the room kicked me but if ill back in the pvp room just kick me in the 1st kill

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  


OnPCDieEvent:

getmapxy .@map$, .@x, .@y, 0;

for(set .@i, 0; .@i < getarraysize(.pvpmap$); set .@i, .@i+1) {

if(.@map$ == .pvpmap$[.@i]) {

set .@str$, "@life_" + .pvpmap$[.@i];

setd (.@str$, getd(.@str$) + 1);

if (getd(.@str$) > 1) {

warp "SavePoint",0,0;

}

if ( #CASHPOINTS <= 0 ) end;

set #CASHPOINTS,#CASHPOINTS-1;

dispbottom "You have lose 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points.";

}

}

end;

OnInit:

setarray .pvpmap$[0],"guild_vs2","pvp_y_8-2","guild_vs1","guild_vs3","guild_vs4","guild_vs5","guild_vs1-2","1@orcs";

setarray .announcements$[0],"was killed by","was violated by","was owned by";

end;

}

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

now i am confused with what exactly you want ....

1st you said ... when users died in pvp map...straight warp back to save point ....

 

now..

can be if he died twice autokick

isnt this is the original + default behavious of a pvp map where you died twice auto warp back to saved map ....

 

/hmm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

OnInit:
	set .maplist$, "|map1|map2|map3|map4|";
	end;

OnPCDieEvent:
	if( !compare(.maplist$,"|"+strcharinfo(3)+"|") )
	end; set(@life,@life+1); if( @life > 1 )
	{ warp "SavePoint",0,0; set(@life,0); } end;

 

this will kick any player who kills 2 times in a row another same player right? i'm looking for this feature DD:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  54
  • Reputation:   1
  • Joined:  08/28/14
  • Last Seen:  

how about.

resu kiling in pvp_y_1-2
if the player is killed 5 consecutive times. then the killer will be sent to jail for 10mins.
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...