Author Topic: canvas.pushDialog(NewPlayerListGui); Schedule [Solved by Greek2Me]  (Read 421 times)

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.
« Last Edit: February 08, 2012, 06:09:43 PM by jes00 »

try canvas.schedule(10000, 0, pushDialog, NewPlayerListGui);

try canvas.schedule(10000, 0, pushDialog, NewPlayerListGui);
Didn't work.

try canvas.schedule(10000, pushDialog, NewPlayerListGui);

Either of these will work:

canvas.schedule(10000, pushDialog, NewPlayerListGui);

schedule(10000, canvas, pushDialog, NewPlayerListGui);