deamon137 Posted June 2, 2007 Posted June 2, 2007 I need a scripts !top3 - show me three first times !top5 show me five first times !top10 show me ten first times thanks for help
Wheelburner Posted June 3, 2007 Posted June 3, 2007 Use search in future! http://forum.mtavc.com/viewtopic.php?t=18137
HouseMD Posted July 9, 2007 Posted July 9, 2007 Change the "Rank" to "Time", just change ini's and trigger command!
deamon137 Posted July 12, 2007 Author Posted July 12, 2007 like this? on *:SIGNAL:mta.command:{ if ($3 == !top3) { var %a = 0,%b = 0,%c = 0,%d,%e = 0,%f,%g = 0,%h while (%a %c) { %e = %c %f = %d %c = %b %d = $ini($scriptdir $+ times.ini,TIMES,%a) } elseif (%b > %e) { %g = %e %h = %f %e = %b %f = $ini($scriptdir $+ times.ini,TIMES,%a) } elseif (%b > %g) { %g = %b %h = $ini($scriptdir $+ times.ini,TIMES,%a) } !inc %a } mta.text $1 Players with top times: if (%d) mta.text $1 1: %d with %c time if (%f) mta.text $1 2: %f with %e time if (%h) mta.text $1 3: %h with %g time } }
Recommended Posts