Jump to content
  • 0

Can I request how to see the pvp points using this script


Famous

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

- 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;

}

I would like to request npc that can see the points and can trade example 1points = 1 tcg

Edited by zhen
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


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

dispbottom "You got total "+points+" Points.";

for the trader....check script release section for dynamic trader..

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...