Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Samme namespace som Mod1.
- private void onKeyUp(object sender, KeyEventArgs e)
- {
- //Mod1
- if (e.KeyCode == Keys.F5)
- {
- GlobalToggle(1);
- if (toggleArray[1] == true)
- {
- ShootMotorbikes.Mod1 instans1 = new ShootMotorbikes.Mod1();
- Print("Motor Mayham Activated");
- if (e.KeyCode == Keys.NumPad0)
- {
- instans1.Activate();
- }
- }
- else
- Print("Motor Mayham Deactivated");
- }
- }
- namespace ShootMotorbikes
- {
- public class Mod1
- {
- //Mod #1 Bike Mayhem - Enable you to shoot motorbikes on command
- public void Activate()
- {
- {
- {
- Vehicle vehicle = World.CreateVehicle(VehicleHash.Bati2, Game.Player.Character.Position + Game.Player.Character.ForwardVector * 3.0f, Game.Player.Character.Heading);
- vehicle.PlaceOnGround();
- vehicle.Speed = 300;
- vehicle.MarkAsNoLongerNeeded();
- Print("FUCK FUCK FUCK FUCK");
- }
- }
- }
- public void Print(string text, int time = 2500) //Toggle print
- {
- GTA.Native.Function.Call(Hash._0xB87A37EEB7FAA67D, "STRING");
- GTA.Native.Function.Call(Hash._ADD_TEXT_COMPONENT_STRING, text);
- GTA.Native.Function.Call(Hash._0x9D77056A530643F6, time, 1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement