Posts: 322
Threads: 43
Joined: Mar 2012
Reputation:
-4
Help please with the function.
Example:
iPrintLnBold(null, "^5iprintlnbold test!");
What can I do to show the text on the screen for 5 seconds?
Posts: 5,320
Threads: 300
Joined: Feb 2011
Reputation:
149
You can't
Or you call it twice or something and wait a few seconds between the 2, but you can't change the time of the message
Posts: 502
Threads: 13
Joined: Feb 2012
Reputation:
42
04-16-2012, 08:12
(This post was last modified: 04-16-2012, 08:13 by JoSchaap.)
iPrintLnBold("^5iprintlnbold test!", null);
Thread.sleep(1000);
iPrintLnBold("^5iprintlnbold test!", null);
Thread.sleep(1000);
iPrintLnBold("^5iprintlnbold test!", null);
Thread.sleep(1000);
iPrintLnBold("^5iprintlnbold test!", null);
Thread.sleep(1000);
iPrintLnBold("^5iprintlnbold test!", null);
but its best practice to only use sleeps in seperate threads!
Had a life, Got a modem..
Posts: 322
Threads: 43
Joined: Mar 2012
Reputation:
-4
Thank you for your answers
Posts: 5,320
Threads: 300
Joined: Feb 2011
Reputation:
149
04-16-2012, 08:42
(This post was last modified: 04-16-2012, 08:43 by JariZ.)
@litgar Remove the 'Owner.' part before iPrintLnBold (line 12), forgot that only RollTheDice uses Owner