Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. initPistolMode()
  2. {
  3.     setCvar("pistol", "0");
  4.  
  5.     while(1)
  6.     {
  7.         if(getCvar("pistol") == "1")
  8.             thread setPistolMode(true);
  9.         else
  10.             thread setPistolMode(false);
  11.     }
  12. }
  13.  
  14. setPistolMode(1)
  15. {
  16. player setWeaponSlotClipAmmo("primaryb", 8);
  17. ammo = player getWeaponSlotAmmo("primaryb");
  18. ammo *= 1;
  19. player setWeaponSlotAmmo("primary", 1);
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement