How do i add restrictions to avoid point farm in same ip /dual log.
- script PVPPOINTS -1,{
OnPCKillEvent:
getmapxy.@map$,.@x,.@y,BL_PC;
if(getcharid(3)==killedrid) end;
if(.@map$ != "pvp_y_1-2") end;
set .@player1, getcharid(3);
set .@player2, killedrid;
attachrid(.@player2);
set .@player2points, #PVPCPOINTS;
if(.@player2points) {
set #PVPCPOINTS, #PVPCPOINTS -1;
dispbottom "You Lost 1 PvP Point from "+rid2name(killerrid);
dispbottom "You have total of "+#PVPCPOINTS+" Pvp Points";
}
attachrid(.@player1);
if(.@player2points) {
dispbottom "Sorry no PvP points on the "+rid2name(killedrid);
}
else
set #PVPCPOINTS, #PVPCPOINTS +1;
dispbottom "You Gained 1 PvP Point from "+rid2name(killedrid);
dispbottom "You have total of "+#PVPCPOINTS+" Pvp Points";
end;
}
Question
DEsMOn
Hello Scripters,
Can any 1 guide in this PVP Point.
How do i add restrictions to avoid point farm in same ip /dual log.
- script PVPPOINTS -1,{ OnPCKillEvent: getmapxy.@map$,.@x,.@y,BL_PC; if(getcharid(3)==killedrid) end; if(.@map$ != "pvp_y_1-2") end; set .@player1, getcharid(3); set .@player2, killedrid; attachrid(.@player2); set .@player2points, #PVPCPOINTS; if(.@player2points) { set #PVPCPOINTS, #PVPCPOINTS -1; dispbottom "You Lost 1 PvP Point from "+rid2name(killerrid); dispbottom "You have total of "+#PVPCPOINTS+" Pvp Points"; } attachrid(.@player1); if(.@player2points) { dispbottom "Sorry no PvP points on the "+rid2name(killedrid); } else set #PVPCPOINTS, #PVPCPOINTS +1; dispbottom "You Gained 1 PvP Point from "+rid2name(killedrid); dispbottom "You have total of "+#PVPCPOINTS+" Pvp Points"; end; }
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.