Jump to content
  • 0
hakuren

delay on clif_displaymessage like sleep command on script

Question

hello there

i need help can someone can teach me how to put delay on a script source example

when use @messagepo it will show clif_displaymessage(fd, "Po1.") and delay upto 30 seconds

another clif_displaymessage(fd, "Po2.") will appear can someone help me or is this possible?

Edited by hakuren
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

You can't sleep inside the source, you must use timers to do this, see src/common/timer.h

can you make me one example? please?

BUMP No one can give me sample of it?

Edited by hakuren
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.