function servercmdDropTool(%client,%slot)
{
if(!isObject(%client.player))
return Parent::servercmdDropTool(%client,%slot);
if(!isObject(%client.player.tool[%slot]) || %client.player.tool[%slot].maxAmmo <= 0)
return Parent::servercmdDropTool(%client,%slot);
$weaponAmmoLoaded = %client.player.toolAmmo[%client.player.currTool];
%client.player.toolAmmunition[%client.player.currTool] = "";
return Parent::servercmdDropTool(%client,%slot);
}
I'm sorry for being stupid but how exactly is $weaponAmmoLoaded being imported into the dropped item? Is it automatically done if theres no, well, for lack of a better word and for existence of high levels of ignorance, 'prefix'?