Gamestate in XAseco1 and XAseco2

In some situation it is required for your Plugin to know which Widgets are to display, because at Score you maybe want to display other Widgets as in Race, or you have to hide your Widget at Score. In this case you need to know at which state the Game currently is.

Since XAseco/1.15 and XAseco2/1.01 it is quite simple to inquire which state the Game currently is:

Inquire the Gamestate
if ($aseco->server->gamestate == Server::RACE) {
	// The Players are racing
else if ($aseco->server->gamestate == Server::SCORE) {
	// The Players see the Scoreboard
Last modified: Thu, 04 Apr 2013 19:27:47 +0200
This is a private enthusiast Website. Maniaplanet, Trackmania, Shootmania, Nadeo are trademarks of Ubisoft Entertainment.
XAseco is maintained by Frans P. de Vries.
MPAseco is maintained by Kremsy, ManiacTwister & TheM

Reordered Navigation

Maybe you have already noticed, that i have changed the order in the Navigation. Since now XAseco2 is in front of all others content.

Donate Planets

Donate Coppers

Donate via PayPal

ATOM release feeds

RSS release feeds