Jump to content
  • 0

Script Please :)


Hoshi

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  39
  • Reputation:   1
  • Joined:  04/04/12
  • Last Seen:  

An NPC which indicates the server time through a waitingroom,

prefer every second.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

Similar principle..

http://upaste.me/cbfd1513694cef5

This will display or should at least, display the amount of players currently online in a waitingroom, however it does this every 30 seconds not on login or log out.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

Try this..

http://upaste.me/d63d150566cf43f

It should basically update the time every 1 second however I don't know if that'll actually work or if it'll cause to much server load..

Although I recommend simply enabling @time it's just as easy and isn't as heavy..

Edited by Nameless2you
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  39
  • Reputation:   1
  • Joined:  04/04/12
  • Last Seen:  

I see thanks :D well how bout an npc which indicates the number of players online with the use of waiting room?

when someone logged out or logged in it changes, I did make one of my own but the problem is that it changes only when the player logged in/out

is in the same location of the npc. My problem is it doesn't count the player who logged in/out in the other maps. I don't know if I should use callfunc or donpcevent ...

already tried many things though ;p

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  39
  • Reputation:   1
  • Joined:  04/04/12
  • Last Seen:  

I see :D Now I get it thanks for this one I can use this script in other concepts since I was able to fix my script in login and log out event :) thanks you again ^-^

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