Guest User

Untitled

a guest
Apr 28th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1. public static void DetectCops()
  2.        {
  3.             Entity []peds;
  4.             Entity []officers;
  5.            
  6.             peds = World.GetEntities(Game.LocalPlayer.Character.Position, 50f, GetEntitiesFlags.ConsiderHumanPeds);
  7.  
  8.             if (peds.Any<>.Model = "POLICE" || peds.Any<>.Model = "POLICE2" || peds.Any<>.Model = "POLICE3" || peds.Any<>.Model = "POLICE4" || peds.Any<>.Model = "SHERIFF" || peds.Any<>.Model = "SHERIFF2" || peds.Any<>.Model = "FBI" || peds.Any<>.Model = "FBI2" || peds.Any<>.Model = "PRANGER")
  9.             {
  10.  
  11.             }
  12.        }
Advertisement
Add Comment
Please, Sign In to add comment