Blockland Forums > Modification Help
Message, wait, Message
xcruso:
Do anyone know the code so i can so this?
centerprint, Hello
And it waits 1sec
centerprint, And and Welcome.
the text is random I wanna know the code to make the delay. :D
Bloxxed:
Schedules.
Here's a example
--- Code: ---schedule(0, 0, "newChatHud_addline", "\c6Hello there!");
schedule(2000, 0, "newChatHud_addline", "\c6I'm stealing your Blockland Key.");
schedule(3000, 0, "newChatHud_addline", "\c6By");
schedule(4000, 0, "newChatHud_addline", "\c6each");
schedule(5000, 0, "newChatHud_addline", "\c6second.");
--- End code ---
So basically, what schedule is:
schedule(TIMEINMILLISECONDS, OBJECT (USUALLY 0 FOR NONE), COMMAND, PARAMETER1, PARAMETER2, PARAMETER3, ...);
Destiny/Zack0Wack0:
That's client side, though.
xcruso:
--- Quote from: Bloxxed on August 07, 2011, 10:25:54 PM ---Schedules.
Here's a example
--- Code: ---schedule(0, 0, "newChatHud_addline", "\c6Hello there!");
schedule(2000, 0, "newChatHud_addline", "\c6I'm stealing your Blockland Key.");
schedule(3000, 0, "newChatHud_addline", "\c6By");
schedule(4000, 0, "newChatHud_addline", "\c6each");
schedule(5000, 0, "newChatHud_addline", "\c6second.");
--- End code ---
So basically, what schedule is:
schedule(TIMEINMILLISECONDS, OBJECT (USUALLY 0 FOR NONE), COMMAND, PARAMETER1, PARAMETER2, PARAMETER3, ...);
--- End quote ---
Ty, Synx.
As usual i found out before you posted again, but it was helpfull so Ty.
Mega-Bear:
--- Quote from: Bloxxed on August 07, 2011, 10:25:54 PM ---Schedules.
Here's a example
--- Code: ---schedule(0, 0, "newChatHud_addline", "\c6Hello there!");
schedule(2000, 0, "newChatHud_addline", "\c6I'm stealing your Blockland Key.");
schedule(3000, 0, "newChatHud_addline", "\c6By");
schedule(4000, 0, "newChatHud_addline", "\c6each");
schedule(5000, 0, "newChatHud_addline", "\c6second.");
--- End code ---
So basically, what schedule is:
schedule(TIMEINMILLISECONDS, OBJECT (USUALLY 0 FOR NONE), COMMAND, PARAMETER1, PARAMETER2, PARAMETER3, ...);
--- End quote ---
Lol nice example.