Jump to content

Checkpoint reorderererer


Recommended Posts

Posted

Did you ever create this Aeron? I asked if you could/would some time back but forgot all about it until wanting to reverse the checkpoints on a couple of races earlier tonight.

To jog your memory it was a script/app to take the checkpoints in a particular race and reverse thier order entirely.

The artist formerly known as [MTA]MrBump

Posted

First of all, is checkpoint order in race, the same as the order as they appear in the .map file?

If so, then it should be quite easy to reverse the checkpoint order...

You still need to move the spawnpoints tho

Posted
First of all, is checkpoint order in race, the same as the order as they appear in the .map file?

Doesn't it have to be the same?

4m85g1y.png

Make sure to use the Search feature before posting a new topic.

Click here for detailed MTA: San Andreas server setup guides.

Posted

Bump's memory has holes:

alias invert {
 var %a = 1,%b = $lines($1-),%c,%d = 0,%e,%f = $remove($1-,.map) $+ _inv.map
 while (%a <= %b) {
   %c = $read($1-,nt,%a)
   if (      if (%d == 0) %d = $lines(%f)
     %e = 0
     !write -il $+ %d $+(",%f,") %c
     !inc %a
     while (%c != ) {
       !inc %e
       %c = $read($1-,nt,%a)
       !write -il $+ $calc(%d + %e) $+(",%f,") %c
       !inc %a
     }
   }
   else {
     !write $+(",%f,") %c
   }
   !inc %a
 }
}

Usage:

/bumpy 

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

Posted

aeron your scripting knowledge scares me sometimes

image.gif.e25ddd8be17e3a9b50a78609787fabd6.gif

Offical B.L.A.S.T.A.ddict
VCP - winners of the official MTA tournament (undefeated!) /smug

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...