Sikdope Posted August 28, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.01 Content Count: 51 Reputation: 0 Joined: 08/28/20 Last Seen: January 24, 2021 Share Posted August 28, 2020 Hello mam/sir anyone can this of gold room npc can you please give me script thank you so much godbless! Quote Link to comment Share on other sites More sharing options...
0 Ronald Posted August 29, 2020 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 250 Reputation: 21 Joined: 06/04/14 Last Seen: November 17, 2024 Share Posted August 29, 2020 This might help you. Basically you just need to add case. https://rathena.org/board/topic/91121-goldroom-ranking/ Quote Link to comment Share on other sites More sharing options...
0 Sikdope Posted September 26, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.01 Content Count: 51 Reputation: 0 Joined: 08/28/20 Last Seen: January 24, 2021 Author Share Posted September 26, 2020 Hello bro sorry now ko lang nakita comment mo! may ask lang sana ako bro hindi kase lumalabas yung mga top gold hunter sa room sa script pero wala naman sya error sa script sensya na newbie lang bro! heto script bro: alter table `char` add `gold_rank` int(11) unsigned default 0 after unban_time, add index (gold_rank); */ mes "[ ^C6A518Top 30 Gold Hunters^000000 ]"; .@nb = query_sql( "select name, gold_rank from `char` where gold_rank > 0 order by gold_rank desc limit 2", .@name$, .@gold ); if ( !.@nb ) { mes "No ranking yet"; close; } for ( .@i = 0; .@i < .@nb; .@i++ ) mes .@name$ +" killed "+ .@gold +" Golden Peco"; close; OnNPCKillEvent: if ( strcharinfo(3) == "ordeal_1-2" && killedrid == 1369 ) query_sql "update `char` set gold_rank = gold_rank +1 where char_id = "+ getcharid(0); end; Quote Link to comment Share on other sites More sharing options...
Question
Sikdope
Hello mam/sir anyone can this of gold room npc can you please give me script thank you so much godbless!
Link to comment
Share on other sites
2 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.