Blockland Forums > Modification Help
canvas.pushDialog(NewPlayerListGui); Schedule [Solved by Greek2Me]
(1/1)
jes00:
How would I add a schedule to canvas.pushDialog(NewPlayerListGui); ?

I tried schedule(10000, 0, canvas.pushDialog(NewPlayerListGui)); and schedule(10000, 0, canvas.pushDialog, NewPlayerListGui); and schedule(10000, 0, canvas.pushDialog, "NewPlayerListGui"); but none of them work.
Lugnut:
try canvas.schedule(10000, 0, pushDialog, NewPlayerListGui);
jes00:

--- Quote from: Lugnut1206 on February 08, 2012, 01:44:59 PM ---try canvas.schedule(10000, 0, pushDialog, NewPlayerListGui);

--- End quote ---
Didn't work.
Chrono:
try canvas.schedule(10000, pushDialog, NewPlayerListGui);
Greek2me:
Either of these will work:

canvas.schedule(10000, pushDialog, NewPlayerListGui);

schedule(10000, canvas, pushDialog, NewPlayerListGui);
Navigation
Message Index

Go to full version