11-05-2013, 02:43 AM
(11-04-2013, 07:43 PM)xoft Wrote: Dropping pickups is not that easy, because this function is called by cClientHandle when the player digs a block; but to spawn pickups, you need to know what tool they're using (to prevent digging diamonds with a wooden shovel); on the other hand, you don't want DigBlock() to take an ItemInHand parameter. Give me a usable specification and I'll be happy.
Thought of something better - spawn the pickup directly in cPiston!
As GlaDOS says, the easiest solution is most often the best.
