Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   playerscount (https://forums.graalonline.com/forums/showthread.php?t=12936)

Merlin 09-26-2001 12:04 AM

playerscount
 
i think having the command
like
if (created || timeout) {
setstring local.onlevel,getplayerscount(levelname.graal);
timeout = 1;
}

or
if (getplayerscount(levelname.graal)==3) {
action;
}

so it can be used to show how many people are in a certain level without having to be in there (for mini games and stuff...)
without a npc server.

Falcor 09-26-2001 02:15 AM

Hmmm This also wold be good...

with (getlevel(levelname))

And getplayer(ID#)
And a variable to go with that. IDS count


Wich is not the total number of players online but rather the highest ID online. So lets say Ids, 1,2,4,8,9,and 14 ar online. Then idscount = 14

Oh and with(npcs(id)) would be cool. Dont know what uses it would have though since you can directly call its name =\

triggeraction2 x,y,level,action,params;

would be cool. Then you wouldnt need Control-NPC or you could have Several of them? hehe

Falcor 09-26-2001 08:38 AM

YEZ IT QWOULD BE COOLEIS FALADOS THX FOR POSING THIS lEET IDIE!

Kaimetsu 09-26-2001 08:22 PM

Quote:

Originally posted by Falcor
YEZ IT QWOULD BE COOLEIS FALADOS THX FOR POSING THIS lEET IDIE!
I like GetLevel();

Merlin 09-27-2001 08:33 AM

Quote:

Originally posted by Kaimetsu


I like GetLevel();

:( like my idea bc:!(!


All times are GMT +2. The time now is 02:46 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.