Thread: Item costs two different prices PI

Results 1 to 4 of 4
  1. #1 Item costs two different prices PI 
    Registered Member
    Join Date
    Apr 2013
    Posts
    158
    Thanks given
    7
    Thanks received
    2
    Rep Power
    11
    So I want to add an item to both a donor shop and PKP shop, how would I go along doing that? I know I can go to the specialprices thing and make it 1 price, but I want it to be 2 different prices, like lets say for donor shop I want it to be 5 points, but for pkp I want it to be 500, how would I do that?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by brutally View Post
    So I want to add an item to both a donor shop and PKP shop, how would I go along doing that? I know I can go to the specialprices thing and make it 1 price, but I want it to be 2 different prices, like lets say for donor shop I want it to be 5 points, but for pkp I want it to be 500, how would I do that?
    Maybe something like

    Case 4151:
    If (myshopid = 5)
    Return 5;
    } else
    If (myshopid = 6)
    Return 500;

    Lol just giving you an idea. That's not the code. I'm typing on my phone
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Apr 2013
    Posts
    158
    Thanks given
    7
    Thanks received
    2
    Rep Power
    11
    I love you. You've been, for a while, the only one actually trying to help, so thanks, worked perfectly after I edited it a bit.
    Reply With Quote  
     

  5. #4  
    Registered Member

    Join Date
    May 2012
    Age
    28
    Posts
    1,548
    Thanks given
    415
    Thanks received
    231
    Rep Power
    81
    or create a new special value

    Code:
    	public int getPKPValues(int id) {
    	switch (id) {
    		case 4151://whip id
    		return 20;//PKP Value
    	}
    	return 0;//everything else not listed will be worth 0 PKP
    }
    Inactive.


    Spoiler for FirstDesign:
    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. Same item, different price
    By 24jared24 in forum Help
    Replies: 0
    Last Post: 08-19-2012, 07:21 PM
  2. Replies: 9
    Last Post: 04-23-2011, 03:46 PM
  3. Replies: 5
    Last Post: 12-01-2010, 10:22 PM
  4. [req]item Costs Item
    By ftwpktwinz in forum Tutorials
    Replies: 3
    Last Post: 02-24-2008, 10:11 AM
  5. [req]how to change how much items cost in store[req]
    By tomthebomb80 in forum Tutorials
    Replies: 3
    Last Post: 02-07-2008, 05:44 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •