Jump to content

Search the Community

Showing results for tags 'counting'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • News
    • Development Announcements
    • Official TruckersMP Events
  • Information & Support
    • TruckersMP Rules
    • Guides
    • Help
    • Suggestions
    • Recruitment
  • Community
    • Discussion
    • VTC System
    • Event System
    • Discord
    • Developer Portal
    • Unofficial tools
    • Media
    • Q&A
  • International Community
    • Other Languages
  • Archive
    • Archive
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Interests


Known languages


VTC Name


Twitch


X (formerly Twitter)


Facebook


World Of Trucks


YouTube

Found 4 results

  1. Hi all, let's see if we can catch up with the number of Truckers MP registered users, currently we have 5,531,564 (and counting) users. This game will be over once we catch up with the number of registered users. Rules are simple, you must count the correct following number and always wait for another user to count before you count again. Enjoy. I will start : 1
  2. I'm sure a few of you know this game already, but let me explain it once again: User1: 1 User2: 2 User1: 154 User2: 4 etc..., so even if someone has given the wrong number, it continues as normal! (and to be fair, please don't ping him :P) Have fun counting, I'll start with 1
  3. Konu başlığında belirttiğim gibi, herkes bir üstteki mesajın üstüne 1 ekleyerek sayıyı yazacak. Kurallar ise basit, spamlamayın ve sadece 1 sayı yükseltin. Sayı düşürmek, 1 yerine 2 sayı yükseltmek veya sayı yerine mesaj yazmak oyun kuralları dışındadır. Yapan olur ise o sayıyı atlayabilirsiniz. Başlıyorum, 1.
  4. Hello there, i was working on a website wich displayed the game time. So i read that i should not make to many calls to the API. To prevent the abuse of the API i made my own system written in PHP wich works very well. I want to share my code for other web devs. (I couldnt found one on the forum) <?php header('content-type: application/json; charset=utf-8'); //Original 2015-19-10 19:28:23 +0000 The date on the Docs seems to be wrong :/ reverse coding of current api stamp in minutes give me this date $format = 'Y-d-m H:i:s e'; $date = DateTime::createFromFormat($format, "2015-19-10 19:28:23 +0000"); $unixStart = $date->format('U'); //Convert time to Minutes $gameTime = ((time() - $unixStart) / 60) * 6; //Convert time to Seconds $gameTimeSeconds = (((time() - $unixStart) * 6) - 3660); //Optionally use of Day Strings like the Navi ingame $day = date("w", $gameTimeSeconds); $days = array("Thu", "Fri", "Sat", "Sun", "Mon", "Tue", "Wed"); $timeString = $days[$day].". ".date("H:i", $gameTimeSeconds); $arr = array("timeString" => $timeString); echo json_encode($arr, JSON_UNESCAPED_UNICODE); ?> If someone found some errors or problems. Feel free to answer
×
×
  • 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.