Jump to content

Recommended Posts

Posted

ScriptDevZero + MangosZero

-

How would i access the WorldHandler to get the amount of online players or display uptime, i cant access that at all only Player and Creature :(

PS: Nice forum!

Posted

There is a reason you can't access them in scripts: these kinds of things should be done in the core. If you want to do something like get the number of players online in scripts for some reason, you need to write a wrapper function in a class scripts can access (like Player)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use