Fun Script for Xmas.
-
Here is a fun very lightweight script that you can customize (at least change the key bindings). Just stick it in a text file, whatever name you want, and use the file extension .3.cs. For example pickup.3.cs, and dump it in your scripts folder. Thank you to @Jitnaught for correcting my extension.
Numpad1: you can pickup almost any female whether you are walking or in your car. Some will reject you but don't give up hope. If one gives you the finger try the next one. Can be customized for men as well. If you get into a fight, she will fight along your side. Good looking women are more likely to reject you, just like real life.
Numpad3: have you had it with your pickup friend?. Are you getting nagged to death about your terrible driving or smoking? Hit num 3 to dismiss her.
Numpad 2: approach any car, male or female driver, hit num 2 and driver will stop and you will enter the passenger side. They will drive you around. For fun, draw a weapon in the car and they will completely freak out.
If you like this script please don't hit the like button, don't subscribe, but do donate bitcoin or banana cake to the charity of your choice.
using System.Windows.Forms; using GTA; using GTA.Math; using GTA.Native; namespace PedStuff { public class Basics : Script { public static Ped PP = Game.Player.Character; public static Ped CurrentPed { get; set; } public Basics() { KeyUp += Basics_KeyUp; } private void Basics_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.NumPad1) //Pickup a chick, you can be walking or in your car. Good looking chicks may reject you. { Vector3 PlayerPosition = Game.Player.Character.GetOffsetPosition(new Vector3(0.0f, 10f, 0.0f)); Ped ClosestPed = World.GetClosestPed(PlayerPosition, 15.0f); if (ClosestPed.Exists() && ClosestPed != Game.Player.Character && ClosestPed.IsAlive && Function.Call<int>(Hash.GET_PED_TYPE, ClosestPed) == 5) //5 is female, PED_TYPE_CIVFEMALE { CurrentPed = ClosestPed; PedGroup PlayerGroup = Game.Player.Character.PedGroup; Function.Call(Hash.SET_PED_AS_GROUP_MEMBER, CurrentPed, PlayerGroup); CurrentPed.IsPersistent = true; Function.Call(Hash.SET_PED_NEVER_LEAVES_GROUP, CurrentPed, true); } } if (e.KeyCode == Keys.NumPad3) //You're done with her you pig, dismiss her now { CurrentPed.MarkAsNoLongerNeeded(); } if (e.KeyCode == Keys.NumPad2) // Approach any car and you will now be a passenger { Vector3 PlayerPosition = Game.Player.Character.GetOffsetPosition(new Vector3(0.0f, 10f, 0.0f)); Ped ClosestPed = World.GetClosestPed(PlayerPosition, 15.0f); if (ClosestPed.Exists() && ClosestPed != Game.Player.Character) { CurrentPed = ClosestPed; Vehicle LastVehicle = Function.Call<Vehicle>(Hash.GET_VEHICLE_PED_IS_IN, ClosestPed, true); Game.Player.Character.Task.EnterVehicle(LastVehicle, VehicleSeat.Passenger, -1, 0.0F, 0); ; } } } } }