noentiendero

GTA V - ZeroMoney mod

Aug 23rd, 2016
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. using System;
  2. using System.Windows.Forms;
  3. using GTA;
  4. using GTA.Native;
  5.  
  6. public class ZeroMoney : Script {  
  7.  
  8.     public ZeroMoney() {
  9.         KeyUp += OnKeyUp;
  10.         UI.Notify("Press M to reset your money account!");
  11.     }
  12.  
  13.     void OnKeyUp(object sender, KeyEventArgs e)
  14.         {
  15.         if (e.KeyCode == Keys.M)
  16.             //Game.Player.Money -= Game.Player.Money;
  17.             Game.Player.Money = 0;
  18.         }
  19. }
Add Comment
Please, Sign In to add comment