I had a question about a npc i use i wanna add a extra feature. When people buy a donation item that cost like 6 credits i want them to get also an aditional 6 old purple boxes. Any idea what line i should add? I think it shoul dbe here somewhere.
}
query_sql "UPDATE `"+escape_sql($redeemtable$)+"` SET `char_id` = '"+escape_sql(getcharid(0))+"', `redeemed` = '1', `redemption_date` = NOW() WHERE `id` = '"+escape_sql(.@id[.@loop])+"'";
getitem .@nameid[.@loop],.@quantity[.@loop];
mes .@quantity[.@loop]+"x "+getitemname(.@nameid[.@loop]);
Hello,
I had a question about a npc i use i wanna add a extra feature.
When people buy a donation item that cost like 6 credits i want them to get also an aditional 6 old purple boxes.
Any idea what line i should add? I think it shoul dbe here somewhere.
Share this post
Link to post
Share on other sites