LuaWindow class
#21
Is the OnSlotChanged callback also able to block the slot change?
Reply
Thanks given by:
#22
it's an "-ed" event, so no. Blocking a change would be quite difficult to implement; it's much easier to do it in the plugin
Reply
Thanks given by: NiLSPACE
#23
I can't believe it ;D my pattern password is actualy working Smile
Reply
Thanks given by:
#24
Now that you know how to use them, it would be great if you could document the new classes in the wiki Wink

Note: cLuaWindow actually inherits some of its methods from the generic cWindow class
Reply
Thanks given by:
#25
I've found a bug: If you drop an item from a cLuaWindow, the OnPlayerTossingItem hook doesn't get called.
Reply
Thanks given by:
#26
Does the hook get called if you drop it from a normal window?
Reply
Thanks given by:
#27
hmm no it doesn't. ;O
Reply
Thanks given by:
#28
That hook only gets called for when the client sends the Q keypress packet.
Reply
Thanks given by:
#29
"Drop" key Wink For me dropping stuff is "C" ;D
Is there a way to block a player throwing some stuff out of the inventory?
Reply
Thanks given by:
#30
No, not yet.
I could make an interface so that plugins can monitor window click actions, but their interpretation is really twisted and would be difficult to set callbacks for.
Reply
Thanks given by:




Users browsing this thread: 8 Guest(s)