That's the problem, it's fine but do not work. The print statements do not return anything, which I currently considers that, that the function is not executed.
It is the same function as I insets in DuffedUI v7 (as it works), only that I have replaced the values to the global values (e.g. "Home" to KEY_HOME).
@edit
It looks as if the function can be called only if I change a keybind, but not if I have a reload or Login performed. If the function "ActionButton_UpdateHotkeys" not trigger at PLAYER_ENTERING_WORLD?
Last edited by liquidbase : 08-17-14 at 04:34 PM.
Reason: Additional informations
|