Description:
Hello, first time mod submitter. I wanted something similar to the NoPixel RP racing to waypoint feature so I created this. It's just a first draft, totally open to suggestions for new features.

About PedRacer
This script will spawn 5 pedestrians vehicles around you of the same type that you are in, count down and then race to your waypoint. As default it will charge you 1000 Dollar to buy into the race and rewards you with 6000 Dollar if you win. This can be turned off in the .ini.

Configurable Settings (.ini):
Activation Shortcut - Start Race (default: O)
Deactivation Shortcut - Cancel Race (default: NumPad1)
Invincible Pedestrians - Car's won't take damage when racing (default: true)
Use Money - Will take -1000 Dollar at the start of the race, winning gives you 6000 Dollar (default: true)

Known Issues:
Pedestrians don't like racing from the docks area and some other locations in the world, I was unable to figure out a way to make them start from there but they will sometimes race to that destination. If the cars don't move after the race starts cancel the race and move closer to a road. They also don't seem to like racing to closeby waypoints so sometimes increasing the distance is enough to make them work.

Suggestions
The pedestrians like to crash into other cars like no tomorrow so a traffic reduction mod or turning off traffic helps the races go more smoothly.

Credits:
ZyDevs - DragRace Source - Although I pretty much entirely rewrote this for my purpose I had no knowledge going into it so I learned using their project. Thanks for sharing! Their mod is available here: https://www.gta5-mods.com/scripts/drag-race

Requirements (Not Included)
Script Hook V
Community Script Hook V .NET (and dependancies)

Installation
Place PedRacer.dll & PedRacer.ini in your "Grand Theft Auto V/scripts/" directory

Changelog
v1.0.1 - Fixed issue left in from development, only black ped car could win. Resolved.

Authors:
Rixeh


Share this mod with Friends:

DOWNLOAD (13 Kb, Sharemods.com)