Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(armour < 1) {
- switch (weaponid) {
- case 22: SetPlayerHealthAC(playerid, health-26); // Colt 9mm
- case 23: SetPlayerHealthAC(playerid, health-36); // Silent Pistol
- case 24: SetPlayerHealthAC(playerid, health-46); // Desert Eagle
- case 25: SetPlayerHealthAC(playerid, health-65); // Shotgun
- case 26: SetPlayerHealthAC(playerid, health-65); // Sawnoff Shotgun
- case 27: SetPlayerHealthAC(playerid, health-65); // Comabt Shotgun
- case 28: SetPlayerHealthAC(playerid, health-16); // Micro SMG/Uzi
- case 29: SetPlayerHealthAC(playerid, health-16); // MP5
- case 30: SetPlayerHealthAC(playerid, health-18); // AK-47
- case 31: SetPlayerHealthAC(playerid, health-18); // M4
- case 32: SetPlayerHealthAC(playerid, health-16); // Tec-9
- case 33: SetPlayerHealthAC(playerid, health-59); // Country Rifle
- case 34: SetPlayerHealthAC(playerid, health-341);// Sniper Rifle
- case 35: SetPlayerHealthAC(playerid, health);// RPG
- case 16: SetPlayerHealthAC(playerid, health);// boom
- case 36: SetPlayerHealthAC(playerid, health);// RPG
- case 38: SetPlayerHealthAC(playerid, health);// boom
- case 39: SetPlayerHealthAC(playerid, health);// boom
- case 40: SetPlayerHealthAC(playerid, health);// boom
- }
- }
- else {
- switch (weaponid) {
- case 22: SetPlayerArmourAC(playerid, armour-50); // Colt 9mm
- case 23: SetPlayerArmourAC(playerid, armour-50); // Silent Pistol
- case 24: SetPlayerArmourAC(playerid, armour-50); // Desert Eagle
- case 25: SetPlayerArmourAC(playerid, armour-50); // Shotgun
- case 26: SetPlayerArmourAC(playerid, armour-50); // Sawnoff Shotgun
- case 27: SetPlayerArmourAC(playerid, armour-50); // Comabt Shotgun
- case 28: SetPlayerArmourAC(playerid, armour-50); // Micro SMG/Uzi
- case 29: SetPlayerArmourAC(playerid, armour-50); // MP5
- case 30: SetPlayerArmourAC(playerid, armour-50); // AK-47
- case 31: SetPlayerArmourAC(playerid, armour-50); // M4
- case 32: SetPlayerArmourAC(playerid, armour-50); // Tec-9
- case 33: SetPlayerArmourAC(playerid, armour-50); // Country Rifle
- case 34: SetPlayerArmourAC(playerid, 0); // Sniper Rifle
- case 16: SetPlayerArmourAC(playerid, armour); // boom
- case 35: SetPlayerArmourAC(playerid, armour); // RPG
- case 36: SetPlayerArmourAC(playerid, armour); // RPG
- case 38: SetPlayerArmourAC(playerid, armour); // boom
- case 39: SetPlayerArmourAC(playerid, armour); // boom
- case 40: SetPlayerArmourAC(playerid, armour); // boom
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement