Police Related Scripts
Posted 20 February 2012 - 01:01 PM
I'm looking for two scripts specifically. One would allow all cops in LC to carry M4s, and the other would be SWAT/Helicopters being called out on 1 Star offenses whether they were by pedestrians or the player.
I'm trying to make LC look like a warzone, and I have all my textures right, but it doesn't make sense for soldiers to fight the civilian riots with only pistols.
Thanks for any help!
Posted 08 March 2012 - 12:05 AM Edited by MonkeyMan_420, 09 March 2012 - 10:49 AM.
here is a quick solution to enable heli on 1 star, u can just bypass 1 or 2 stars... want a warzone? u will get a warzone
the harder solution is spawning the heli yourself on 1 or 2 stars and re creating all the AI
public class PoliceStuff : Script
Tick += new EventHandler(PoliceStuff_Tick);
private void PoliceStuff_Tick(object sender, EventArgs e)
if (Game.LocalPlayer.WantedLevel == 1 || Game.LocalPlayer.WantedLevel == 2)
Game.LocalPlayer.WantedLevel = 3;
Ped pedArray = World.GetAllPeds();
foreach (Ped cop in pedArray)
if (cop.RelationshipGroup != RelationshipGroup.Cop)
if (cop.Weapons.AssaultRifle_M4.Ammo > 0)
cop.Weapons.AssaultRifle_M4.Ammo = 500;
just tested and it works, with this no more 1-2 stars and cops armed with M4
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users