Thread: [PI] When someone gets killed +1 pkpoint?

Results 1 to 4 of 4
  1. #1 [PI] When someone gets killed +1 pkpoint? 
    Registered Member Neruzycra's Avatar
    Join Date
    Nov 2010
    Posts
    185
    Thanks given
    4
    Thanks received
    5
    Rep Power
    1
    Nvm, fixed. Now I have a new problem, I've added a pk shop which uses points I try to buy stuff from there and nothing happends??

    Prepare to lose it...
    Reply With Quote  
     

  2. #2  
    Registered Member 'Lex's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    401
    Thanks given
    2
    Thanks received
    38
    Rep Power
    21
    Quote Originally Posted by Neruzycra View Post
    Nvm, fixed. Now I have a new problem, I've added a pk shop which uses points I try to buy stuff from there and nothing happends??
    You added the items to the shop correctly add a new shop dimentry or w.e you people call the word these days, + in your price edit it to what you like and search your buy methods for the shop buy. Aka making a new shop.

    Reply With Quote  
     

  3. #3  
    Registered Member Neruzycra's Avatar
    Join Date
    Nov 2010
    Posts
    185
    Thanks given
    4
    Thanks received
    5
    Rep Power
    1
    Sry, didn't help :/

    Prepare to lose it...
    Reply With Quote  
     

  4. #4  
    Registered Member Gacoa's Avatar
    Join Date
    Sep 2010
    Posts
    44
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    heres a little snippet u gotta do the rest
    if (Server.playerHandler.players[c.playerId].connectedFrom != o.lastKilled) {
    if(!(c.npcIndex > 0) && c.inPits == false){
    o.pkPoints = (o.pkPoints + 10);
    c.sendMessage("You have recieved 1 pk point");
    o.lastKilled = Server.playerHandler.players[c.playerId].connectedFrom;

    } else {
    o.sendMessage("You do not recieve pk points because you have killed " +c.playerName+ " twice in a row.");
    }
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [508]PKPoint Strength
    By OSRSNinja in forum Tutorials
    Replies: 19
    Last Post: 08-22-2010, 10:40 AM
  2. 525 pkpoint shop?
    By deathrod in forum Help
    Replies: 11
    Last Post: 08-15-2010, 01:42 PM
  3. pkpoint shop?
    By deathrod in forum Help
    Replies: 5
    Last Post: 07-14-2010, 01:56 AM
  4. Pkpoint Rewards
    By dandy kid in forum Tutorials
    Replies: 1
    Last Post: 10-06-2008, 03:02 AM
  5. PkPoint Command
    By Bushido in forum Tutorials
    Replies: 8
    Last Post: 06-17-2008, 12:22 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •