equal
deleted
inserted
replaced
427 string.format(loc("Time: %.1fs"), (trackTime/1000)) .. "|" .. |
427 string.format(loc("Time: %.1fs"), (trackTime/1000)) .. "|" .. |
428 string.format(loc("Winning time: %s"), bestTimeComment), -amSkip, 4000) |
428 string.format(loc("Winning time: %s"), bestTimeComment), -amSkip, 4000) |
429 PlaySound(sndHellish) |
429 PlaySound(sndHellish) |
430 end |
430 end |
431 |
431 |
|
432 for i = 0, (TeamsCount-1) do |
|
433 if teamNameArr[i] ~= " " and teamScore[i] ~= 1000000 then |
|
434 SetTeamLabel(teamNameArr[i], string.format(loc("%.1fs"), teamScore[i]/1000)) |
|
435 end |
|
436 end |
432 |
437 |
433 -------- |
438 -------- |
434 --new |
439 --new |
435 -------- |
440 -------- |
436 |
441 |
1154 DeleteGear(cameraGear) |
1159 DeleteGear(cameraGear) |
1155 end |
1160 end |
1156 -- Move camera to first waypoint. |
1161 -- Move camera to first waypoint. |
1157 -- We use a dummy gear to feed FollowGear. It does not affect the race. |
1162 -- We use a dummy gear to feed FollowGear. It does not affect the race. |
1158 cameraGear = AddGear(wpX[0], wpY[0], gtGenericFaller, 0, 0, 0, 5000) |
1163 cameraGear = AddGear(wpX[0], wpY[0], gtGenericFaller, 0, 0, 0, 5000) |
1159 SetState(cameraGear, bor(GetState(cameraGear), gstNoGravity+gstInvisiblee)) |
1164 SetState(cameraGear, bor(GetState(cameraGear), gstNoGravity+gstInvisible)) |
1160 FollowGear(cameraGear) |
1165 FollowGear(cameraGear) |
1161 end |
1166 end |
1162 |
1167 |
1163 end |
1168 end |
1164 |
1169 |