PedRacer v1.5

PedRacer v1.5

Author’s Note
I wanted something similar to the NoPixel RP racing to waypoint feature so I created this. If you have any feature requests or suggestions let me know in the comments.

About PedRacer
This script will spawn 5 or 8 pedestrians vehicles around you with random modifications, 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 the prize pot if you win (6000 or 9000). This can be turned off in the .ini or now with NativeUI support.

Configurable Settings (.ini & NativeUI):
Activation Shortcut – Start Race (default: O)
Menu/Deactivation Shortcut – Open Menu & Cancel Current 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 or 9000 Dollar (default: true)
Nubmer of Cars – Race againt 5 or 8 pedestrian cars. (default: 5)
Cars Stay Spawned – Cars will slow down and drive around for a while after the race, if off they disappear when the race ends. (default: true)
Random Cars – Will Spawn random cars when on. Off will copy your current vehicle. (default: true)
Random Car Class – Select from Sports, Super, Classic, Muscle & Motorcycles. (default: sports)
Custom Cars – You can set custom cars to race against, spawn specific cars or any addon models using their spawn name. If enabled custom cars overrides random cars if both are turned on. You can see a list of spawn names here: GTA Network Wiki – Vehicle Models (default: false, banshee)
Neons – Turn pedestrian car neons on/off. (default: true)
RaceEnd – Race End marker on display while racing. (default: true)
DriveAssist – (Beta) Makes pedestrians more likely avoid certain situations like flying off hills, spinning out, hitting walls and other cars. Currently in development, its far from perfect right now but it’s a step in the right direction. You can turn it on and off if you don’t like it. (default: true)
SpeedBoost – (Beta) Makes pedestrians drive faster, its early days with this too so expect some strange behaviour. It can be enabled/disabled in the settings. (default: true)
Debug – I use it while working on the above two features, I’m just exposing it for anyone who’s curious how it works. (default: false)

Known Issues:
If cars stay spawned is turned on and you have traffic turned off, they will still disappear.

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.

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

Installation
Place PedRacer.dll & PedRacer.ini in your “Grand Theft Auto V\scripts\” directory

Credits:

ZyDevs – DragRace Source – Although I pretty much entirely rewrote this for my purpose I had no knowledge of c# going into it so I learned using their project and picking it apart. Thank you for sharing ZyDevs! Their mod is available here: Drag Race

Download mod

FileFile size
zip PedRacer17 KB

Leave a Reply

Your email address will not be published. Required fields are marked *