Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" FS BY:sNo FS:Suvis");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
- {
- if(issuerid != INVALID_PLAYER_ID && weaponid == 34,25,24 && bodypart == 9)// su sniper pasauna i galva
- {
- SetPlayerHealth(playerid, 0.0);
- }
- if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && bodypart == 5)// su sg pasauna i koja
- {
- new Float:hp;
- GetPlayerHealth(playerid, hp);
- SetPlayerHealth(playerid, hp -= 20);
- }
- if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && bodypart == 6)// pasauna i koja su sg
- {
- new Float:hp;
- GetPlayerHealth(playerid, hp);
- SetPlayerHealth(playerid, hp -= 20);
- }
- if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && bodypart == 3)// su sg passauna i kuna
- {
- new Float:hp;
- GetPlayerHealth(playerid, hp);
- SetPlayerHealth(playerid, hp -= 50);
- }
- if(issuerid != INVALID_PLAYER_ID && weaponid == 4 && bodypart == 9)// su peiliu i galva
- {
- new Float:hp;
- GetPlayerHealth(playerid, hp);
- SetPlayerHealth(playerid, hp -= 100);
- }
- if(issuerid != INVALID_PLAYER_ID && weaponid == 4 && bodypart == 3)// su peiliu i kuna
- {
- new Float:hp;
- GetPlayerHealth(playerid, hp);
- SetPlayerHealth(playerid, hp -= 50);
- }
- if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && bodypart == 7)// su sg passauna i ranka
- {
- new Float:hp;
- GetPlayerHealth(playerid, hp);
- SetPlayerHealth(playerid, hp -= 35);
- }
- if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && bodypart == 6)// su sg passauna i ranka
- {
- new Float:hp;
- GetPlayerHealth(playerid, hp);
- SetPlayerHealth(playerid, hp -= 35);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment