Jump to content
  • 0

R> PK + CashPoint


Kaiz

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   0
  • Joined:  11/29/12
  • Last Seen:  

i wanna request a script that give 1 cashpoint to the player who kills the other player plesae.

yeah theres a lot of cashpoint script on request but its all on PvP i just want a little diff. i want it on PK mode

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   29
  • Joined:  10/11/12
  • Last Seen:  

Try this:

-    script    GainCashOnKill    -1,{
OnPCKillEvent:
   if( getcharid(0) != killedrid )
       atcommand "@cash 1";
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   0
  • Joined:  11/29/12
  • Last Seen:  

i think PK and PvP are same hmm . . . coz i set my server to pk then test it then i get cash then we also try it on pvpmode and get cash also

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   29
  • Joined:  10/11/12
  • Last Seen:  

You don't want that your players receive cashs at your PvP maps?

Link to comment
Share on other sites


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

try this

http://pastebin.com/raw.php?i=7VNQfca5

i think player wont use @pk in pvp or gvg...( player cant pk outside pvp or gvg except PK Server )

so i think just check for both this should be enough...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   0
  • Joined:  11/29/12
  • Last Seen:  

You don't want that your players receive cashs at your PvP maps?

i have this Ghost Script his PvP System so thats why i already have a the Cash thingy that when you kill player you gain cash in all pvp map

try this

http://pastebin.com/raw.php?i=7VNQfca5

i think player wont use @pk in pvp or gvg...( player cant pk outside pvp or gvg except PK Server )

so i think just check for both this should be enough...

sir emistry why when i turn the pk on then try kill other player ghost script is entering what i mean is his system is the one that using

it announce that player 1 kill player 2 then gain cash it should be only on pvp right?

Edited by Kaiz
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...