Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- initPistolMode()
- {
- setCvar("pistol", "0");
- while(1)
- {
- if(getCvar("pistol") == "1")
- thread setPistolMode(true);
- else
- thread setPistolMode(false);
- }
- }
- setPistolMode(1)
- {
- player setWeaponSlotClipAmmo("primaryb", 8);
- ammo = player getWeaponSlotAmmo("primaryb");
- ammo *= 1;
- player setWeaponSlotAmmo("primary", 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement