Jump to content
  • 0

Question

Posted (edited)

could anyone can help me in this script call pvp point system but i wanna change it to item on point i try

to edit this script but it just give me error! so anyone could you help me to change this script

i dont want to use point i wanna use ITEM!

pvp.txt

Edited by JoySticK

2 answers to this question

Recommended Posts

Posted

Find this part:

 if(attachrid(.@Killer)){
  dispbottom "You Gained 1 Cash Points from "+rid2name(.@Killed);
  emotion e_meh,1;
  set #CASHPOINTS,#CASHPOINTS+1;
  set @LastKilled,.@Killed;
  attachnpctimer;
  initnpctimer;

and change it to:

 if(attachrid(.@Killer)){
  dispbottom "You Gained 1 <item name> from "+rid2name(.@Killed);
  emotion e_meh,1;
  getitem <id>,<amount>;
  set @LastKilled,.@Killed;
  attachnpctimer;
  initnpctimer;

Please note that you will still have to change this part:

if(#CASHPOINTS){
 dispbottom "You Lost 1 Cash Point from "+rid2name(.@Killer);
 set #CASHPOINTS,#CASHPOINTS-1;
 emotion e_sob,1;
 detachrid;

because it's stating to the killed player that he lost 1 Cash Point for dying while his/her killer has gained 1 <item>.

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