am i missing something like a plugin cause this code won't work
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 ModName : Script
{
// Where you initialize all your variables for use.
private string modName = "YOUR MOD NAME HERE";
private string modCreatorName = "YOUR NAME HERE";
private Ped playerPed = Game.Player.Character;
private Player player = Game.Player;
// Where you initialize the events or do anything when the mod starts.
public ModName()
{
UI.Notify(modName + " made by: " + modCreatorName + " using GTA V Script Creator 1.0");
// 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("T20", playerPed.Position);
UI.ShowSubtitle("Spawned a T20", 2500);
}
if (e.KeyCode == Keys.K)
{
Ped nearestPed = World.GetNearbyPeds(Game.Player.Character, 7f)[0]
nearestPed.Kill();
UI.ShowSubtitle("THEY'RE DEAD", 2500);
}
}
// When you press a key up or release it.
private void OnKeyUp(object sender, KeyEventArgs e)
{
@Saberninja710 it stands for simple dev envi. i think
am i missing something like a plugin cause this code won't work
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 ModName : Script
{
// Where you initialize all your variables for use.
private string modName = "YOUR MOD NAME HERE";
private string modCreatorName = "YOUR NAME HERE";
private Ped playerPed = Game.Player.Character;
private Player player = Game.Player;
// Where you initialize the events or do anything when the mod starts.
public ModName()
{
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("T20", playerPed.Position);
UI.ShowSubtitle("Spawned a T20", 2500);
}
if (e.KeyCode == Keys.K)
{
Ped nearestPed = World.GetNearbyPeds(Game.Player.Character, 7f)[0]
nearestPed.Kill();
UI.ShowSubtitle("THEY'RE DEAD", 2500);
}
}
// When you press a key up or release it.
private void OnKeyUp(object sender, KeyEventArgs e)
{
}
You man you are the best. Did you make this your self
i dont know how to do dis like i cant find any of the locations
this mod for some reason wont download a zip it just downloads a .rar