Hello everyone, anyone can help me I tried to kill another player but did not add pvppoints to the pvp shop thanks and godbless!
PS: its not a whole script
here is the script and screenshot:
case 3:
callshop "pvpshop",1;
end;
- script PvP_Points -1,{
OnPCKillEvent:
.@map$ = strcharinfo(3);
if(getmapflag(.@map$,mf_pvp) && killedrid != getcharid(3)) {
if(++#pvp_points % 1 == 0)
dispbottom "Current amount of PvP Points: "+#pvp_points;
set .mapname$, "guild_vs3";
}
end;
}
- pointshop pvpshop #pvp_points-1,14533:3,14545:5,12210:10,7776:40