Jump to content

StuartD

Retired Team Member
 TruckersMP Profile
  • Posts

    933
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by StuartD

  1. The issues with the trailers isn't a bug people are just using them. As it isn't really a bug you can use it however anything that you do use that may be seen as giving you an advantage over others is completely against the rules.. You will be banned if you use it..

  2. A CB radio was planned from near the start of the mod, it was a feature that I had mixed feelings about as there are some people who will use it for bad rather than good. I wonder if it is still planned..

  3. There are always companies like this they think that spamming everywhere is the best way to recruit however it's a breach of the rules. As there is no dedicated reporting place yet keep hold of this report and the names as you'll be able to report them when the systems are in place.

  4. It's quite simple if you know what you're doing..

     

    This might not be the best way of doing it but it works for me :')

     

     include('extra/TruckMPApi.php'); // Calls the MP API for use. $api = new TruckMPApi(); // Creates the API class.$servers = $api->GetServers(); // Gets the server information array. $eu_1_name = $servers[0]->shortname; // Gets the name of server 1. $eu_1_status = $servers[0]->online; // Gets the status of server 1. $eu_1_players = $servers[0]->players; // Gets the player count of server 1. if($eu_1_status){ // If the server is online  echo $eu_1_name ." - Online - ". $eu_1_players; // Show the short name and the player count.} else { // Otherwise.  echo "Server 1 Offline"; // say that it is offline.}

     

    This is the basic part of it however the MP people have just styled the page to make it look more appealing. EG this is mine from the ST page.

     

    22111122.png

×
×
  • 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.