Weapons For Everybody! 0.0.1
2 953
32
2 953
32
About
This mod add weapons (you choose of pistol, revolver, railgun, knife and shotgun) for everybody. (For pedestrians, cops, army and all peds)
Installation
Install Script Hook V .NET.
Place file to "scripts" folder. After you install, all ped was have weapons.
ChangeLog
0.0.1 - Initial Release
This mod add weapons (you choose of pistol, revolver, railgun, knife and shotgun) for everybody. (For pedestrians, cops, army and all peds)
Installation
Install Script Hook V .NET.
Place file to "scripts" folder. After you install, all ped was have weapons.
ChangeLog
0.0.1 - Initial Release
Перше завантаження: 21 Листопада 2018
Останнє оновлення 24 Листопада 2018
Last Downloaded: 14 hours ago
10 коментаря
About
This mod add weapons (you choose of pistol, revolver, railgun, knife and shotgun) for everybody. (For pedestrians, cops, army and all peds)
Installation
Install Script Hook V .NET.
Place file to "scripts" folder. After you install, all ped was have weapons.
ChangeLog
0.0.1 - Initial Release
This mod add weapons (you choose of pistol, revolver, railgun, knife and shotgun) for everybody. (For pedestrians, cops, army and all peds)
Installation
Install Script Hook V .NET.
Place file to "scripts" folder. After you install, all ped was have weapons.
ChangeLog
0.0.1 - Initial Release
Перше завантаження: 21 Листопада 2018
Останнє оновлення 24 Листопада 2018
Last Downloaded: 14 hours ago
can you add a bit more description?
@Ilikeeditingpolice01 he's saying every npc has a pistol... not that hard to understand
@chrisnovxxx so does this mod only work for Civilians, or do cops, gangs, army members also get these weapons?
@Ilikeeditingpolice01 did you not read the word "Everybody"?
@chrisnovxxx no
@Ilikeeditingpolice01 clearly.
an epic mod, if i do say so. this mod is paradise for those of us who know tha everyone should be armed in real ... and in game... epic.
This reminds me the good ol' time with San Andreas... giving every single peds a nasty gun then LET THE FUN BEGINS! :D
Maybe you can do your mod this way: let the plugin loads your script, but not giving peds anything yet. When in the game, we press the hotkey (you name it) to give peds a random weapon.
Can U make it to where only some peds have weapons?
using GTA;
using GTA.Native;
using System;
public class RevolverForEveybody : Script
{
private WeaponHash[] allowedWeapons = { //Peds carrying these weapons won't be given the revolver
WeaponHash.Revolver,
WeaponHash.Unarmed
};
private WeaponHash[] randomweapon =
{
WeaponHash.Pistol,
WeaponHash.PistolMk2,
WeaponHash.MachinePistol,
WeaponHash.MiniSMG,
WeaponHash.AssaultRifle,
WeaponHash.AssaultrifleMk2,
WeaponHash.CombatShotgun,
WeaponHash.SweeperShotgun,
WeaponHash.PumpShotgun,
WeaponHash.GrenadeLauncher,
WeaponHash.MilitaryRifle
};
public RevolverForEveybody()
{
Tick += OnTick;
Interval = 1;
}
void giveWeapon()
{
foreach (var ped in World.GetAllPeds())
{
var weapons = ped.Weapons;
if (ped.Weapons.Current.Hash == WeaponHash.Unarmed && ped.IsPlayer == false)
{
Game.Player.WantedLevel = 0;
World.Weather = Weather.ThunderStorm;
Random rnd = new Random();
int index = rnd.Next(randomweapon.Length);
//Ped is unarmed and can have a weapon
ped.Weapons.Give(randomweapon[index], 60, true, true);
}
}
}
void OnTick(object sender, EventArgs e)
{
giveWeapon();
}
}
Makes ped who are unarmed carry random weapon instead of everyone getting their gun replaced with revolver :)