Jump to content

Best Maps?


Guest pcs123

Recommended Posts

on *:SIGNAL:mta.startrace: {
 if ($3 == 0) {
   var %a = $calc($readini($scriptdir $+ mta.stats.ini,n,$mta.races($1,$2),times) + 1),%b = $calc($readini($scriptdir $+ mta.stats.ini,n,ALL,times) + 1)
   !writeini -n $+(",$scriptdir,mta.stats.ini,") ALL times %b
   !writeini -n $+(",$scriptdir,mta.stats.ini,") $+(",$mta.races($1,$2),") times %a
   mta.text $1 Map: $mta.races($1,$2) Played: $+(%a,/,%b) times ( $+ $round($calc(100 / %b * %a),2) $+ % $+ )
 }
}
on *:SIGNAL:mta.command: {
 if (!a == $3) {
   var %a = 2,%b,%c,%1,%2,%3,%4,%5
   while (%a <= $ini($scriptdir $+ mta.stats.ini,0)) {
     %b = $ini($scriptdir $+ mta.stats.ini,%a)
     if ($readini($scriptdir $+ mta.stats.ini,n,%b,times) > $calc($readini($scriptdir $+ mta.stats.ini,n,%1,times))) {
       %c = %1
       %1 = %b
       %b = %c
     }
     if ($readini($scriptdir $+ mta.stats.ini,n,%b,times) > $calc($readini($scriptdir $+ mta.stats.ini,n,%2,times))) {
       %c = %2
       %2 = %b
       %b = %c
     }
     if ($readini($scriptdir $+ mta.stats.ini,n,%b,times) > $calc($readini($scriptdir $+ mta.stats.ini,n,%3,times))) {
       %c = %3
       %3 = %b
       %b = %c
     }
     if ($readini($scriptdir $+ mta.stats.ini,n,%b,times) > $calc($readini($scriptdir $+ mta.stats.ini,n,%4,times))) {
       %c = %4
       %4 = %b
       %b = %c
     }
     if ($readini($scriptdir $+ mta.stats.ini,n,%b,times) > $calc($readini($scriptdir $+ mta.stats.ini,n,%5,times))) {
       %c = %5
       %5 = %b
       %b = %c
     }
     !inc %a
   }
   %a = $readini($scriptdir $+ mta.stats.ini,n,ALL,times)
   mta.text $1 Most popular maps: %1 ( $+ $round($calc(100 / %a * $readini($scriptdir $+ mta.stats.ini,n,%1,times) ),2) $+ % $+ ), %2 ( $+ $round($calc(100 / %a * $readini($scriptdir $+ mta.stats.ini,n,%2,times) ),2) $+ % $+ ), %3 ( $+ $round($calc(100 / %a * $readini($scriptdir $+ mta.stats.ini,n,%3,times) ),2) $+ % $+ ), %4 ( $+ $round($calc(100 / %a * $readini($scriptdir $+ mta.stats.ini,n,%4,times) ),2) $+ % $+ ), %5 ( $+ $round($calc(100 / %a * $readini($scriptdir $+ mta.stats.ini,n,%5,times) ),2) $+ % $+ )
 }
}

Will show :>

PS. You find 32 spawnpoints Break here:

http://home.deds.nl/~aeron/maps/Aeron's ... -01-06.rar

Edited by Guest
Link to comment

10laphotring is pure hilarity. It's a riot when half the players in your server(11 in my case) decide to go in the opposite direction and collide with the other half of the server. That or they make a roadblock out of cars :roll:

Hope this gives an idea of how many players there were.

hotringsized7qs.th.jpg

Airport Dogfight is awesome too. It's fun seeing 15 jetliners take off as if they had a case of down syndrome. San Andreas' goofy flight physics add to the comedic value of the situation too.

Link to comment
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...