PapaZola Posted February 3, 2012 Share Posted February 3, 2012 may i have script monthly reward npc will give give reward(sample january month) and if already february player cant take gift on npc reward like 7539-100 5022-1 Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 3, 2012 Share Posted February 3, 2012 npc will give give reward(sample january month)and if already february player cant take gift on npc huh ? month reward but cant claim again on next month ??? are you looking for a npc that give Item Monthly ?? try this prontera,155,181,5 script Sample 757,{ // January ~ December Item Lists setarray .ItemID[0],7539,5022,512,607,608,7539,5022,512,607,608,7539,5022; setarray .Amount[0],1,2,3,4,5,6,7,8,9,10,11,12; if( #MonthlyReward != gettime(6) ){ getitem .ItemID[gettime(6)],.Amount[gettime(6)]; set #MonthlyReward,gettime(6); mes "You have grant an item for this month."; }else{ mes "You cant take a reward again this month."; } close; } 2 Quote Link to comment Share on other sites More sharing options...
0 jeromeblade Posted November 2, 2018 Share Posted November 2, 2018 (edited) Hi Emistry, thank you for the script. Edited November 2, 2018 by jeromeblade Quote Link to comment Share on other sites More sharing options...
PapaZola Posted February 3, 2012 Author Share Posted February 3, 2012 sir emistry this npc give random reward? and amount? Quote Link to comment Share on other sites More sharing options...
Rikimaru Posted February 3, 2012 Share Posted February 3, 2012 setarray .ItemID[0],7539,5022,512,607,608,7539,5022,512,607,608,7539,5022; setarray .Amount[0],1,2,3,4,5,6,7,8,9,10,11,12; setarray .ItemID[0] sets the Item ID's , that means Players get Items with the ID 7539,5022,512,607,608 setarray .Amount[0] sets the Amount of the Item,which the Players get. Quote Link to comment Share on other sites More sharing options...
PapaZola Posted February 3, 2012 Author Share Posted February 3, 2012 how i want make not random gift like i want give player 7539-1000 and 5022-1 Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 3, 2012 Share Posted February 3, 2012 it is not random gift... it is fixed... January - Gift 1 - Amount 1 February - Gift 2 - Amount 2 etc..... just follow the sequences... Quote Link to comment Share on other sites More sharing options...
Rikimaru Posted February 4, 2012 Share Posted February 4, 2012 setarray .ItemID[0],7539,5022,512,607,608,7539,5022,512,607,608,7539,5022; setarray .Amount[0],1000,1,3,4,5,6,7,8,9,10,11,12; This is going to be for January : Item ID 7539, Item Amount : 1000 After that for February : Item ID 5022, Item Amount : 1 After that for March : Item ID 512 , Item Amount : 3 So this is easy to change. 1 Quote Link to comment Share on other sites More sharing options...
may i have script monthly reward
npc will give give reward(sample january month)
and if already february player cant take gift on npc
reward like
7539-100
5022-1
Link to comment
Share on other sites