TakeItem


This verb removes or disables an item and calls the taken message in the item's cog. If the item has the correct typeflags for respawn, TakeItem() will not destroy the item, but disable it until its respawn timer expires. Syntax:

TakeItem(item, player);

Some Cog programmers have said that in JK, TakeItem() requests permission from the server to take an item. But there is no proof for this. In fact, TakeItem() can take an item that does not exist on the server's computer.