Hermes
dziwki kola gramy w lola
Hi there!
I am writing a script using function onAddItem (which is not included in LUA_FUNCTIONS!):
Yeah, it works, but I can't do something with a player for which script was executed (cid), because cid isn't there as a parameter :f.
Is there any way to define player in LUA script?
Regards,
Hermes
I am writing a script using function onAddItem (which is not included in LUA_FUNCTIONS!):
Code:
function onAddItem(moveitem, tileitem, pos)
Yeah, it works, but I can't do something with a player for which script was executed (cid), because cid isn't there as a parameter :f.
Is there any way to define player in LUA script?
Regards,
Hermes