Author Topic: Message, wait, Message  (Read 536 times)

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



Schedules.

Here's a example
Code: [Select]
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.");

So basically, what schedule is:

schedule(TIMEINMILLISECONDS, OBJECT (USUALLY 0 FOR NONE), COMMAND, PARAMETER1, PARAMETER2, PARAMETER3, ...);



Schedules.

Here's a example
Code: [Select]
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.");

So basically, what schedule is:

schedule(TIMEINMILLISECONDS, OBJECT (USUALLY 0 FOR NONE), COMMAND, PARAMETER1, PARAMETER2, PARAMETER3, ...);



Ty, Synx.



As usual i found out before you posted again, but it was helpfull so Ty.

Schedules.

Here's a example
Code: [Select]
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.");

So basically, what schedule is:

schedule(TIMEINMILLISECONDS, OBJECT (USUALLY 0 FOR NONE), COMMAND, PARAMETER1, PARAMETER2, PARAMETER3, ...);


Lol nice example.

you can also set it up like this:
%client.schedule(<delay>,"chatMessage","message goes here");