golanu21 Posted February 6, 2014 Share Posted February 6, 2014 addCommandHandler("gc", function(thePlayer) local result = mysql:query_fetch_assoc("SELECT jobid FROM characters WHERE id = " ..getElementData(thePlayer, "dbid") ) if result then jobid = result["jobid"] if jobid == 'gc' then if FUNCTION WORKING then outputChatBox("Esti deja intr-o cursa", thePlayer, 255, 0, 0) -- i want to make that when the FUNCTION WORKING, is working... else initiateCleanerJob() end end end end) i want to make command , and this command to work only when a function is not working.. Link to comment
myonlake Posted February 6, 2014 Share Posted February 6, 2014 We don't support leaked scripts. Link to comment
Recommended Posts