Jump to content

Question

9 answers to this question

Recommended Posts

  • 1
Posted
- script pvppoint -1,{
OnInit:
set .killaddpoint, 2;    //points to add when kill
set .diedeductpoint, 1; //points to deduct when died
end;
OnPCKillEvent:
getmapxy .@map$,.@mapx,.@mapy,0;
if ( .@map$ != "guild_vs3" && .@map$ != "pvp_y_1-2" && .@map!="prtg_cas01") end;
if(getcharid(3)==killedrid) end;
set points, points+.killaddpoint;
dispbottom "You killed "+rid2name(killedrid)+" you gained "+.killaddpoint+" points";
attachrid(killedrid);
set points, points-.diedeductpoint;
dispbottom "You are killed by "+rid2name(killerrid)+" you lost "+.diedeductpoint+" points";
end;
}

  • Upvote 1
Posted
- script pvppoint -1,{
OnInit:
set .killaddpoint, 2;    //points to add when kill
set .diedeductpoint, 1; //points to deduct when died
end;
OnPCKillEvent:
if(!getmapflag(strcharinfo(3),mf_pvp)) end;
if(getcharid(3)==killedrid) end;
set points, points+.killaddpoint;
dispbottom "You killed "+rid2name(killedrid)+" you gained "+.killaddpoint+" points";
attachrid(killedrid);
set points, points-.diedeductpoint;
dispbottom "You are killed by "+rid2name(killerrid)+" you lost "+.diedeductpoint+" points";
end;
}

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...