Damn, alchy!
'dem prices!!
wow he's right those are some crazy prices
i guess you're rewarding well for kills.
i'm guessing you had Event_AddItem on before or something, addItem isn't a default method.
From Event_AddItem (by Destiny)
function Player::addItem(%player,%image,%client)
{
for(%i = 0; %i < %player.getDatablock().maxTools; %i++)
{
%tool = %player.tool[%i];
if(%tool == 0)
{
%player.tool[%i] = %image;
%player.weaponCount++;
messageClient(%client,'MsgItemPickup','',%i,%image);
break;
}
}
}
You should probably just enable Event_AddItem or something though if this is a private mod.
edit:
Also, I noticed your final
else is stating that the tier is invalid, but that may possibly cause a logical error since that can also happen if they don't have enough money for the selected tier. Not really breaking anything, just a logical error.