Jump to content
  • 0
Rizz

R> Ranked Blacksmith shop

Question

Hi, I have a concept about a shop that can only be accessed by the top 10 Ranked Blacksmith. I would be grateful if someone would provide me the script or instruct me on how to make it. Thanks in advance.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Try this one.
 

-	shop	fame_shop	-1,501:-1,502:-1,503:-1,504
prontera,156,168,5	script	fame shop	123,{
query_sql "SELECT `fame` FROM `char` WHERE `fame`>0", [email protected];
if ([email protected]) {
callshop "fame_shop";
}else{
dispbottom "you don't have fame points.";
}
end;
}

 

Edited by cook1e
Link to comment
Share on other sites

  • 0
On 6/25/2021 at 1:54 PM, cook1e said:

Try this one.
 

-	shop	fame_shop	-1,501:-1,502:-1,503:-1,504
prontera,156,168,5	script	fame shop	123,{
query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10') ORDER BY `fame` DESC LIMIT 10", [email protected];
if ([email protected]) {
callshop "fame_shop";
}else{
dispbottom "you don't have fame points.";
}
end;
}

Thanks for the response. I have tested it but the other class can access the shop 😅

 

 

Link to comment
Share on other sites

  • 0
18 hours ago, Rizz said:

Other class still can access the shop 😅

ssss.jpg.781a66c2d5c3784962a515ded3c6af20.jpg

Only Blacksmith/Whitesmith can open this shop, working for me.

-	shop	fame_shop	-1,501:-1,502:-1,503:-1,504:-1
prontera,156,168,5	script	fame shop	123,{
query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10' OR `class`='4011') ORDER BY `fame` DESC LIMIT 10", [email protected];
if ([email protected]) {
callshop "fame_shop";
}else{
dispbottom "you don't have fame points.";
}
end;
}

 

Edited by cook1e
Link to comment
Share on other sites

  • 0
On 6/28/2021 at 2:33 AM, cook1e said:

Only Blacksmith/Whitesmith can open this shop, working for me.

-	shop	fame_shop	-1,501:-1,502:-1,503:-1,504:-1
prontera,156,168,5	script	fame shop	123,{
query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10' OR `class`='4011') ORDER BY `fame` DESC LIMIT 10", [email protected];
if ([email protected]) {
callshop "fame_shop";
}else{
dispbottom "you don't have fame points.";
}
end;
}

 

I have tested it, but it does not work on me, other class can access the shop.😢
Thanks for helping.

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.