Jump to content
  • 0

Can You Help Me Here!


WilkyMave

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   1
  • Joined:  06/09/12
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

instead of using:

set #CASHPOINTS,#CASHPOINTS+1;

use:

getitem <item id>,<amount>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

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

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