Thread: [PI] Need A Fix In My reset task command[PI]

Results 1 to 5 of 5
  1. #1 [PI] Need A Fix In My reset task command[PI] 
    Registered Member jackd019's Avatar
    Join Date
    Aug 2011
    Posts
    431
    Thanks given
    5
    Thanks received
    8
    Rep Power
    11
    }
    if (playerCommand.startsWith("resettask")) {
    c.taskAmount = -1; //vars
    c.slayerTask = 0; //vars

    }

    I wanna make this command .. cost slayer points everytime used like evertime
    they use this say 10 slayer point's is take away
    Reply With Quote  
     

  2. #2  
    I built Grand Exchange :)
    dark-natural's Avatar
    Join Date
    Mar 2011
    Posts
    178
    Thanks given
    30
    Thanks received
    6
    Rep Power
    9
    Just put a

    c.Spoints = -10;
    Reply With Quote  
     

  3. #3  
    Registered Member jackd019's Avatar
    Join Date
    Aug 2011
    Posts
    431
    Thanks given
    5
    Thanks received
    8
    Rep Power
    11
    src\server\model\players\packets\Commands.java:126 : cannot find symbol
    symbol : variable Spoints
    location: class server.model.players.Client
    c.Spoints = -10;
    ^
    Reply With Quote  
     

  4. #4  
    Respected Member

    Situations's Avatar
    Join Date
    Sep 2008
    Posts
    3,903
    Thanks given
    230
    Thanks received
    1,695
    Rep Power
    5000
    Find the correct variable name then.
    Reply With Quote  
     

  5. #5  
    Registered Member jackd019's Avatar
    Join Date
    Aug 2011
    Posts
    431
    Thanks given
    5
    Thanks received
    8
    Rep Power
    11
    Its Magepoints i checked in the char file but i don't know how to put it in meaning is it c.magepoints ? i'm not sure can some one help me out please
    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. Def reset command[BS]
    By Coder Alex in forum Snippets
    Replies: 17
    Last Post: 06-23-2010, 08:16 PM
  2. Reset Slayer Task Command
    By Xuzk in forum Tutorials
    Replies: 11
    Last Post: 11-10-2009, 05:30 AM
  3. ::reset command fix?? Rep++
    By «I Gf I» ©£ in forum Help
    Replies: 19
    Last Post: 09-28-2009, 12:31 AM
  4. Reset command
    By Simon in forum Snippets
    Replies: 11
    Last Post: 08-29-2009, 08:18 PM
  5. [508] NPC Reset Command (rep++)
    By HyreScape in forum Help
    Replies: 3
    Last Post: 07-09-2009, 06:54 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •