itsmeyoe Posted May 19, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 54 Reputation: 1 Joined: 05/19/12 Last Seen: March 17, 2023 Share Posted May 19, 2012 Please Help Me Guys Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 4, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2364 Joined: 10/28/11 Last Seen: Saturday at 07:02 PM Share Posted August 4, 2012 or you can try this? mes "How many Status Point you want to purchase ?"; mes "1 Point = 300,000 Zeny."; mes "You have "+Zeny+" Zeny , can purchase "+( Zeny / 300000 )+" Points."; input .@i,0,( Zeny / 300000 ); mes "You purchased "+.@i+" Points."; set StatusPoint,StatusPoint + 1; set Zeny,Zeny - ( 300000 * .@i ); close; 1 Quote Link to comment Share on other sites More sharing options...
Bahmut Posted May 20, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share Posted May 20, 2012 This should work. But I haven't tested it: //===== rAthena Script ======================================= //= Stat Point Seller //===== By: ================================================== //= Bahmut //===== Current Version: ===================================== //= 1.0 //===== Description: ========================================= //= Sells Stat Points to Players //= - 1 Stat Point for 300.000 zeny //= - 10 Stat Points for 3.000.000 zeny //============================================================ prontera,146,174,4<tab>script<tab>Stat Point Seller<tab>727,{ mes "[stat Point Seller]"; mes "How many Stat Points do you want to buy?"; switch(select("1 Stat Point for 300.000 zeny","10 Stat Points for 3.000.000 zeny")) { case 1: mes "[stat Point Seller]"; mes "This will cost you 300.000 zeny. Is this ok?"; next; if (select("Yes:No") == 2) close; mes "[stat Point Seller]"; if (Zeny < 300000) { mes "You do not have enough zeny!"; close; } set StatusPoint,StatusPoint + 1; set Zeny,Zeny - 300000; mes "Thank you for your purchase."; close; case 2: mes "[stat Point Seller]"; mes "This will cost you 3.000.000 zeny. Is this ok?"; next; if (select("Yes:No") == 2) close; mes "[stat Point Seller]"; if (Zeny < 3000000) { mes "You do not have enough zeny!"; close; } set StatusPoint,StatusPoint + 10; set Zeny,Zeny - 3000000; mes "Thank you for your purchase."; close; } } Quote Link to comment Share on other sites More sharing options...
hh867 Posted August 3, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 08/03/12 Last Seen: August 4, 2012 Share Posted August 3, 2012 It Don't Work For Me what am i doing wrong i put it in npc custorm then i wont to the scripts custom to add on server but not showing up Quote Link to comment Share on other sites More sharing options...
Bahmut Posted August 4, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share Posted August 4, 2012 Does your mapserver give you a warning or something? Quote Link to comment Share on other sites More sharing options...
Question
itsmeyoe
Please Help Me Guys
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.