Si|ent Posted February 23, 2006 Posted February 23, 2006 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
Strepto Posted February 26, 2006 Posted February 26, 2006 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
Jani Posted February 26, 2006 Posted February 26, 2006 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? Make sure to use the Search feature before posting a new topic. Click here for detailed MTA: San Andreas server setup guides.
Aeron Posted February 26, 2006 Posted February 26, 2006 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."
Si|ent Posted March 5, 2006 Author Posted March 5, 2006 Ah thanks mate, and yes it most certainly does The artist formerly known as [MTA]MrBump
Ransom Posted March 5, 2006 Posted March 5, 2006 aeron your scripting knowledge scares me sometimes Offical B.L.A.S.T.A.ddict VCP - winners of the official MTA tournament (undefeated!) /smug
Recommended Posts