Resource:Race

From Multi Theft Auto: Wiki
Revision as of 01:11, 3 January 2008 by Arc (talk | contribs) (New page: {{Resource page}} __NOTOC__ The "race" gamemode organizes sprint or freeroam races for one or more players. It supports both maps from MTA:Race and maps in the MTA:SA DM map syntax that we...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The "race" gamemode organizes sprint or freeroam races for one or more players. It supports both maps from MTA:Race and maps in the MTA:SA DM map syntax that were created in the map editor.

Playing

Playing race is quite straightforward. If there are checkpoints, drive from checkpoint to checkpoint and be the first to reach the finish line within the time. If there are no checkpoints, just drive around and have fun.

In races you may encounter three types of pickups which will have an effect on your vehicle:

  • Repair pickups:
  • Nitrous oxide pickups:
  • Vehicle change pickups:

Lastly, if you get stuck during a race, you can enter the /kill command in the chatbox to kill yourself and respawn at the previous checkpoint.

Installing maps

Map syntax

MTA:Race style syntax

MTA:SA DM style syntax

Events

onPlayerReachCheckpoint

Parameters

int checkpoint, int time
  • checkpoint:
  • time:

Source

The source is the player that reached the checkpoint.

onPlayerPickUpRacePickup

Parameters

Source