CritteR's Impromptu Races

CritteR's Impromptu Races

€4.99

Add to Basket

ae3b2d458ebc8a587df5f031df69b4c12e2ca10a.png 

CritteR's Impromptu Races is a simple 1 vs. 1 racing resource that aims to provide an easy environment for players to challenge their driving skills! Simply add a waypoint where you want to end the race, challenge a player (with money or not), and start racing!

Installing the resource:

  1. Add the resource in your resources folder.
  2. (Optional) Connect the resource with your framework of choice in the public/server_connection.lua and public/client_connection.lua files.
  3. (Optional) Modify the UI elements in the public/client_pracing_public_ui.lua and public/client_pracing_public_menu.lua files.
  4. (Optional) Change the resource config and localization strings in the public/sh_utils.lua file.

Usage:

  • Go next to a player and use the command /race [source / player name] (entry bet) by default (command name is editable in sh_utils.lua)
  • The player that you challenged will receive your request and they will be allowed to see the entry bet and the finish line.
  • The player that you challenged has to drive next to you in order to accept the challenge.
  • The challenge request will be canceled if the user doesn’t answer in 30 seconds. A player cannot start more than one race at one time.
  • After the challenged accepts your request, the race countdown will start.
  • First to reach the finish line wins and receives the other user’s entry bet money (if bets are allowed).

What can I modify?

All of the UI, all text strings, the command name, and all the functions needed for you to connect this to your framework. Other parts of the code can be opened on request. The resource also has a couple of hooks that allows you to see every race that is initiated, accepted, rejected, aborted and finished.

What can't I modify?

Server-side race logic, blips and checkpoints, and the client-side race logic.

Screenshots:f58d3c9b5dbfc5d681657f77fb48eccb425232fe.png4ce9938e4b8c793cd6f196eeb13f04cd38e6b387.png5db314cf84d0e6da7556ee2d0dcfbdb426baafd1.pngfa443461da40e11a5218fd04751ae8892fc43b09.png