Jump to content
  • 0

delay on clif_displaymessage like sleep command on script


hakuren

Question


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   101
  • Joined:  11/13/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

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...