
10-23-2009, 07:00 PM
|
|
The Cat
|
 |
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
|
|
|
If you really wanted a work around and just cannot wait, you can have the player setting one of their attrs[] to their current level name, then add sendtoallattr=attrnumber to server options. You can add multiple sendtoallattrs by separating the numbers with a comma. Then you can grab player.attr[n] with a clientside script. It's recommended not to use sendtoallattrs for all attrs though because it means passing more data to the player than sometimes necessary.
You can use the onPlayerChanges(player, id) event to detect when the player enters a new level then because when an attr[] changes it invokes that function. |
__________________
“Shoot for the moon. Even if you miss, you'll land among the stars.”
|
Last edited by Tigairius; 10-23-2009 at 10:36 PM..
Reason: Oops, wasn't thinking.
|
|
|