• Getting playerinfo
    2 replies, posted
Hello, I'm currently working on a loading screen, but I have no idea how to get the player and server data from the player when he joins, I only managed to get the map name. Hope someone can help me out . Regards Lemon
Loading URL
LOAD.setServerInfo = function (serverName, mapName, maxPlayers) { // set map preview image // this.$.mapPreview.src = 'asset://mapimage/' + mapName; // gametracker.com map previews can also be used this.$.mapPreview.src = 'http://image.www.gametracker.com/images/maps/160x120/garrysmod/' + mapName + '.jpg'; this.$.mapName.innerText = mapName; this.$.serverName.innerText = serverName; this.$.playerSlots.innerText = maxPlayers + ' player slots'; }; How do I use this in my main folder with php (As variables).
Sorry, you need to Log In to post a reply to this thread.