Ledger Nano X - The secure hardware wallet
SHARE
TWEET

1234

a guest Apr 21st, 2016 131 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using GTA;
  3. using GTA.Native;
  4.  
  5. namespace NoDar
  6. {
  7.     public class NoDar : Script
  8.     {
  9.  
  10.         public NoDar()
  11.         {
  12.             Tick += OnTick;
  13.         }
  14.  
  15.         public void OnTick(object sender, EventArgs e)
  16.         {
  17.             int WantedLevel = Game.Player.WantedLevel;
  18.             if (WantedLevel > 0)
  19.             {
  20.                 Function.Call(Hash.SET_POLICE_RADAR_BLIPS);
  21.                 Function.Call(Hash.HIDE_HUD_COMPONENT_THIS_FRAME, 1);
  22.                 Function.Call(Hash.SET_AUDIO_FLAG, "WantedMusicDisabled", 1);
  23.                 Function.Call(Hash.SET_AUDIO_FLAG, "DisableBarks", 1);
  24.                 Function.Call(Hash.SET_AUDIO_FLAG, "PoliceScannerDisabled", 1);
  25.                 Function.Call(Hash.SET_AUDIO_FLAG, "WantedMusicOnMission", 0);
  26.  
  27.             }
  28.         }
  29.     }
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top