Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try
- {
- foreach(Cop cop in nearbyCopList)
- {
- if (Exists(cop.ped) && Exists(cop.blip))
- {
- cop.blip.Color = BlipColor.Red;
- if (GTA.Native.Function.Call<bool>("HAS_CHAR_SPOTTED_CHAR_IN_FRONT", cop.ped, pc) && GTA.Native.Function.Call<bool>("HAS_CHAR_SPOTTED_CHAR_IN_FRONT", pc, cop.ped))
- {
- // Some stuff
- }
- }
- }
- }
- catch (NullReferenceException ex)
- {
- Game.Console.Print("WTF NO! lol");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement