Code:
-scriptPVP Kill-1,{
OnPCKillEvent:
if ( killedrid == getcharid(3) ) end;
set .@kill1, 1;
set #PVPKills,#PVPKills+.@kill1;
dispbottom "Du besitzt nun "+#PVPKills+" PKP.";
end;
}
//================================================================
prontera,*,*,5scriptPVP Kills891,{
//===========================================================================================
mes "[PVP Kills]";
mes "Hi "+strcharinfo(0)+"! ich kann dir deine PKP (Player Kill points) gegen Items einlösen!";
next;
mes "[PVP Kills]";
mes "Du hast ^FF0000"+#PVPKills+"^000000 PKP.";
if (#PVPKills >= 1){
next;
mes "[PVP Kills]";
mes "Willst du deine PKP einlösen?";
next;
menu "Jepp",-,"Eher nich!",L_No;
mes "[PVP Kills]";
mes "So such dir ein item aus!";
menu "Item1 , 500 PKP",L_cu1,"Item2 , 1 PKP",L_cu2,"Nein",L_No;
L_cu1:
next;
if (#PVPKills<499) goto L_No1;
set #PVPKills,#PVPKills-500;
getitem itemid,1;
end;
L_cu2:
next;
if (#PVPKills<0) goto L_No1;
set #PVPKills,#PVPKills-1;
getitem itemid,1;
close;
L_No1:
mes "[PVP Kills]";
mes "^FF0000Im Sorry du besitzt nicht genug PKP , lass es im PvP Krachen und komm wieder !^000000";
close;
}
L_No:
mes "[PVP Kills]";
mes "Bye Bye.";
close;
}






