Thread: Adding a donation shop and making donation rights

Results 1 to 5 of 5
  1. #1 Adding a donation shop and making donation rights 
    Registered Member
    T-Sex's Avatar
    Join Date
    Jan 2008
    Posts
    1,824
    Thanks given
    0
    Thanks received
    3
    Rep Power
    130
    how would i do this like make a new playerrights so only donators can access the shop?
    Reply With Quote  
     

  2. #2  
    Registered Member Andrew's Avatar
    Join Date
    Nov 2008
    Posts
    2,892
    Thanks given
    613
    Thanks received
    207
    Discord
    View profile
    Rep Power
    551
    simple as pie thats how it is okay so find your second click on npc method (case 17 in delta) and with your other npcs add this

    Code:
    } else if(NPCID == 1039){
    				if(donator == 1){
    				PutNPCCoords = true;
    				WanneShop = 38; 
    				} else
    				sM("You must be a donator to trade me!!");
    change the npc id and wanneShop id

    rep and a thank is appreciated
    Reply With Quote  
     

  3. #3  
    Registered Member
    T-Sex's Avatar
    Join Date
    Jan 2008
    Posts
    1,824
    Thanks given
    0
    Thanks received
    3
    Rep Power
    130
    it doesnt work
    Reply With Quote  
     

  4. #4  
    Registered Member
    Coder Alex's Avatar
    Join Date
    Apr 2009
    Age
    27
    Posts
    1,755
    Thanks given
    86
    Thanks received
    83
    Rep Power
    231
    You wan't it client sided too(icon)?
    well , server sided is you declare an integer, call it donator?
    in your shop packet, declare an if statement into one of your shops that will be donator only, and you're done.. that's like 2 min work.
    My english skills back in the days.
    Quote Originally Posted by Coder Alex
    Well, if it's gooded decent, it's good.
    Reply With Quote  
     

  5. #5  
    Registered Member
    T-Sex's Avatar
    Join Date
    Jan 2008
    Posts
    1,824
    Thanks given
    0
    Thanks received
    3
    Rep Power
    130
    yeah ive figured it out
    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

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