1 файл лайкнуто
4 коментарів
0 відео
0 завантаженнь
0 фоловерів
@rickert all you have to do is press insert when your near the building and the yellow blip should show up
don't worry I fixed it
I've got all of the updated srcript hook v and script hook v .net files native ui and dinput 8 but when I go to the gang selctor building there's no way to get in no blips nothing telling me to press a button I circled the building I even checked the roof
tell me what's wrong with my script
using GTA;
using GTA.Native;
using GTA.Math;
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.IO;
using System.Drawing;
using System.Media;public class MyFirstMod : Script
{
// Where you initialize all your variables for use.
private string modName = "My First Mod ";
private string modCreatorName = "zooloo1235"; private Ped playerPed = Game.Player.Character;
private Player player = Game.Player; // Where you initialize the events or do anything when the mod starts.
public MyFirstMod()
{
UI.Notify(modName + " made by: " + modCreatorName + " using GTA V Script Creator 1.0"); Tick += OnTick;
KeyDown += OnKeyDown;
KeyUp += OnKeyUp;
} // This is where loops/things are run every frame.
private void OnTick(object sender, EventArgs e)
{ }
// When you press a key down or hold it.
private void OnKeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.J)
{
Ped chop = World.CreatePed("A_C_CHOP", new Vector3(playerPed.Position.X, playerPed.Position.Y, playerPed.Position.Z);
Game.Player.Character.CurrentPedGroup.Add(chop, false);
UI.Notify("Spawned Chop as a Bodyguard!");
}
if (e.KeyCode == Keys.K)
{
Vehicle veh = World.CreateVehicle("ADDER", playerPed.Position);
UI.ShowSubtitle("Spawned an ~r~Adder!", 2500);
}
if (e.KeyCode == Keys.Y)
{
Ped nearestPed = World.GetNearbyPeds(Game.Player.Character, 7f)[0];
nearestPed.Kill();
UI.ShowSubtitle("~r~Killing nearest ped!", 2500);
}
} // When you press a key up or release it.
private void OnKeyUp(object sender, KeyEventArgs e)
{ }
}