Forum > Serverside Modding
GlueButtons.lua problem!
<< < (2/2)
schlumpf:
--- Quote from: "stoneharry" ---It will fix the error message being displayed which is the primary issue at the moment. --- End quote --- Suppressing an error message instead of solving the error never fixes anything and is the most useless thing to do in development. Fix the issue, or don't do anything.
Nortwin:
Thank you for the response, using that for now. :)
schlumpf:
You may as well use
--- Code: ---SECONDS_PER_PULSE = 0.75;
function GlueButtonMaster_OnUpdate(self, elapsed) if VX_MUSICTIMER then if VX_MUSICTIMER < GetTime() then VX_ONMUSIC = true; PlayLoginMusic(); end end end --- End code --- which does the same: Playing music.
Nortwin:
Thank you, I already included the function in another Lua :)
Navigation
[0] Message Index
[*] Previous page
|