1 2 3 4 5 6 7 8 9 10 11 | if ( attachrid(.@aid[.@i])) { if(checkvending()) { end; } else .@gave++; announce "[GM] "+strcharinfo(0)+" Gave "+.@amount+" x "+getitemname( .@itemid )+" to "+.@gave+" Player(s). Proceed to the Giveaway Rewards NPC to claim your reward!",bc_all; citemid = .@itemid; camount = .@amount; ClaimReward++; } |