function pickupCrate(%this, %obj, %col)
{
serverPlay3D(crateSound,%obj.getPosition());
%obj.delete();
//code for adding a random weapon here
}
I need it to definately be a weapon and not the crate itself or a printer or hammer or something like that
How 2 do