• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua onThrowItem

mano90

New Member
Joined
Jan 22, 2012
Messages
26
Reaction score
0
is there a function, onThrowItem(CID) ????
or something, I need to check whos throwing item and where it's being thrown to, what kind of item, etc.

found it "onAddItem", anyway, another problem, how many effects can you have in globalevents? i think i reached max limit =.=
 
Last edited by a moderator:
creatureevent.cpp (line 2023):
Code:
uint32_t CreatureEvent::executeThrow(Player* player, Item* item, const Position& fromPosition, const Position& toPosition)
{
	//onThrow(cid, item, fromPosition, toPosition)
More proof?
 
Back
Top