Advertisement
Guest User

Untitled

a guest
Sep 20th, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. if(armour < 1) {
  2. switch (weaponid) {
  3. case 22: SetPlayerHealthAC(playerid, health-26); // Colt 9mm
  4. case 23: SetPlayerHealthAC(playerid, health-36); // Silent Pistol
  5. case 24: SetPlayerHealthAC(playerid, health-46); // Desert Eagle
  6. case 25: SetPlayerHealthAC(playerid, health-65); // Shotgun
  7. case 26: SetPlayerHealthAC(playerid, health-65); // Sawnoff Shotgun
  8. case 27: SetPlayerHealthAC(playerid, health-65); // Comabt Shotgun
  9. case 28: SetPlayerHealthAC(playerid, health-16); // Micro SMG/Uzi
  10. case 29: SetPlayerHealthAC(playerid, health-16); // MP5
  11. case 30: SetPlayerHealthAC(playerid, health-18); // AK-47
  12. case 31: SetPlayerHealthAC(playerid, health-18); // M4
  13. case 32: SetPlayerHealthAC(playerid, health-16); // Tec-9
  14. case 33: SetPlayerHealthAC(playerid, health-59); // Country Rifle
  15. case 34: SetPlayerHealthAC(playerid, health-341);// Sniper Rifle
  16. case 35: SetPlayerHealthAC(playerid, health);// RPG
  17. case 16: SetPlayerHealthAC(playerid, health);// boom
  18. case 36: SetPlayerHealthAC(playerid, health);// RPG
  19. case 38: SetPlayerHealthAC(playerid, health);// boom
  20. case 39: SetPlayerHealthAC(playerid, health);// boom
  21. case 40: SetPlayerHealthAC(playerid, health);// boom
  22. }
  23. }
  24. else {
  25. switch (weaponid) {
  26. case 22: SetPlayerArmourAC(playerid, armour-50); // Colt 9mm
  27. case 23: SetPlayerArmourAC(playerid, armour-50); // Silent Pistol
  28. case 24: SetPlayerArmourAC(playerid, armour-50); // Desert Eagle
  29. case 25: SetPlayerArmourAC(playerid, armour-50); // Shotgun
  30. case 26: SetPlayerArmourAC(playerid, armour-50); // Sawnoff Shotgun
  31. case 27: SetPlayerArmourAC(playerid, armour-50); // Comabt Shotgun
  32. case 28: SetPlayerArmourAC(playerid, armour-50); // Micro SMG/Uzi
  33. case 29: SetPlayerArmourAC(playerid, armour-50); // MP5
  34. case 30: SetPlayerArmourAC(playerid, armour-50); // AK-47
  35. case 31: SetPlayerArmourAC(playerid, armour-50); // M4
  36. case 32: SetPlayerArmourAC(playerid, armour-50); // Tec-9
  37. case 33: SetPlayerArmourAC(playerid, armour-50); // Country Rifle
  38. case 34: SetPlayerArmourAC(playerid, 0); // Sniper Rifle
  39. case 16: SetPlayerArmourAC(playerid, armour); // boom
  40. case 35: SetPlayerArmourAC(playerid, armour); // RPG
  41. case 36: SetPlayerArmourAC(playerid, armour); // RPG
  42. case 38: SetPlayerArmourAC(playerid, armour); // boom
  43. case 39: SetPlayerArmourAC(playerid, armour); // boom
  44. case 40: SetPlayerArmourAC(playerid, armour); // boom
  45. }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement