Loading...

Ped Passengers 1.0

7e23ee enter
7e23ee full
7e23ee exit

3.030

This is a rewrite of the Ped Passengers! mod by R_S
https://www.gta5-mods.com/scripts/passenger-mod

This script will get random peds to get into your vehicle. You must be stopped for it to work. You also must be the driver of the vehicle, so it won't work if you're in a taxi or something.

Keyboard keys are defined in the ini
Controller buttons are: Horn to call peds, Exit Vehicle to get everyone out

Installation:
Just drop the cs and ini files into your scripts folder

Requirements:
Script Hook V
https://www.gta5-mods.com/tools/script-hook-v
ScriptHookV.Net
https://github.com/crosire/scripthookvdotnet/releases

I really have no interest in updating this, as it works fine for me. I'm uploading the cs file instead of compiling it so people can use the code, or make changes to parts if you want. If you use any of this for another script that's uploaded, please credit me and R_S. I will make changes if someone asks though.

I know some of this code wasn't done right (like using the existing VehicleSeat enum in SHVDN, I didn't feel like learning how to convert an enum to a list), but this was my first attempt at coding for GTA. I couldn't get passengers that were already on a bus to stop freaking out, but new riders should be fine. I also wanted to have the script ignore cops, because walking cops will get into your car. And for some reason, when passengers get out when the player does (with controller), they try to get into the driver seat and take the car. If someone wants to fix these issues, that would be awesome.

If anyone is interested in the difference between this one and the one by R_S:
-controller support added
-multiple passengers
-only works if in a vehicle
-only works if stopped
-only works if driving (not in taxi)
-peds don't flee in terror
-works with buses
Show Full Description

First Uploaded: 25. okt 2017
Last Updated: 25. okt 2017
Last Downloaded: 10 dni

All Versions

 1.0 (current)

3.030 downloads , 2 KB
25. okt 2017

30 Comments