Guest User

example

a guest
May 16th, 2015
673
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using GTA;
  2. using System;
  3. using GTA.Native;
  4. using System.Windows.Forms;
  5.  
  6. public class ParticleMadness : Script
  7. {
  8. public ParticleMadness()
  9. {
  10. Tick += OnTick;
  11. }
  12.  
  13. private void OnTick(object sender, EventArgs e)
  14. {
  15.  
  16. Ped player = Game.Player.Character;
  17.  
  18. float size = 8.0f;
  19.  
  20. if(Function.Call<bool>(Hash._0x8702416E512EC454, "scr_carsteal4"))
  21. {
  22. Function.Call(Hash._0x6C38AF3693A69A91, "scr_carsteal4");
  23. Function.Call<int>(Hash.START_PARTICLE_FX_NON_LOOPED_ON_ENTITY, "scr_carsteal5_car_muzzle_flash",
  24. player, 0, 0, 0, 0, 0, 0, size, 0, 0, 0);
  25. }
  26.  
  27. else
  28. {
  29. Function.Call(Hash._0xB80D8756B4668AB6, "scr_carsteal4");
  30. }
  31.  
  32. }
  33. }
RAW Paste Data