Quesooo Posted June 30, 2017 Posted June 30, 2017 good day i would like to ask why this script not working??? is there something wrong with this script? should i missed some details?? also please help me how to make this a random item thank you - script max_lv 99,{ // Configuration OnInit: .max_base = 175; .max_job = 60; .item_id = 19546; .amount = 1; end; // Script OnPCBaseLvUpEvent: OnPCJobLvUpEvent: // Determine if Base Level and Job Level are max if (BaseLevel == .max_base && JobLevel == .max_job) { // Receive reward getitem .19546, .1; // Display confirmation message message strcharinfo(0), "Congratulations! You have received "+ .amount +" "+ getitemname(.item_id) +" for reaching the max level!"; } end; } Quote
0 Technoken Posted June 30, 2017 Posted June 30, 2017 Any errors? And are you sure that the script is loaded? Quote
0 Quesooo Posted June 30, 2017 Author Posted June 30, 2017 oops sorry for wrong post hahahaha yes i already loaded that script but its not working as well 2 players already reach max lvl 175 and job 60 but they got nothing Quote
0 Deleted User Posted June 30, 2017 Posted June 30, 2017 43 minutes ago, Questune09 said: good day i would like to ask why this script not working??? is there something wrong with this script? should i missed some details?? also please help me how to make this a random item thank you - script max_lv 99,{ // Configuration OnInit: .max_base = 175; .max_job = 60; .item_id = 19546; .amount = 1; end; // Script OnPCBaseLvUpEvent: OnPCJobLvUpEvent: // Determine if Base Level and Job Level are max if (BaseLevel == .max_base && JobLevel == .max_job) { // Receive reward getitem .19546, .1; // Display confirmation message message strcharinfo(0), "Congratulations! You have received "+ .amount +" "+ getitemname(.item_id) +" for reaching the max level!"; } end; } Typo: getitem .19546, .1; To getitem .item_id, .amount; 1 Quote
0 Quesooo Posted June 30, 2017 Author Posted June 30, 2017 15 hours ago, Kaze said: Typo: getitem .19546, .1; To getitem .item_id, .amount; thank you how about making a random item??? if players reach the max lvl and max job lvl he will get a random item Quote
0 Deleted User Posted June 30, 2017 Posted June 30, 2017 25 minutes ago, Questune09 said: thank you how about making a random item??? if players reach the max lvl and max job lvl he will get a random item Just check OnInit: to modify your likes. http://immortalsro.com/rAScripts/lvlup_rewards.txt 1 Quote
Question
Quesooo
good day i would like to ask why this script not working???
is there something wrong with this script? should i missed some details??
also please help me how to make this a random item thank you
- script max_lv 99,{ // Configuration OnInit: .max_base = 175; .max_job = 60; .item_id = 19546; .amount = 1; end; // Script OnPCBaseLvUpEvent: OnPCJobLvUpEvent: // Determine if Base Level and Job Level are max if (BaseLevel == .max_base && JobLevel == .max_job) { // Receive reward getitem .19546, .1; // Display confirmation message message strcharinfo(0), "Congratulations! You have received "+ .amount +" "+ getitemname(.item_id) +" for reaching the max level!"; } end; }
6 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.