Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- // Don't remeove credits guys. Copyright 2013 - Nines.
- #define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("Realistic Gun Damage by Nines");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- forward OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid);
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
- {
- new Float:HP;
- GetPlayerHealth(playerid, HP);
- if(weaponid == 24) SetPlayerHealth(playerid, HP-50);
- if(weaponid == 22) SetPlayerHealth(playerid, HP-10);
- if(weaponid == 32) SetPlayerHealth(playerid, HP-25);
- if(weaponid == 28) SetPlayerHealth(playerid, HP-10);
- if(weaponid == 23) SetPlayerHealth(playerid, HP-10);
- if(weaponid == 31) SetPlayerHealth(playerid, HP-35);
- if(weaponid == 30) SetPlayerHealth(playerid, HP-40);
- if(weaponid == 29) SetPlayerHealth(playerid, HP-18);
- if(weaponid == 34) SetPlayerHealth(playerid, HP-300);
- if(weaponid == 33) SetPlayerHealth(playerid, HP-35);
- if(weaponid == 25) SetPlayerHealth(playerid, HP-50);
- if(weaponid == 27) SetPlayerHealth(playerid, HP-55);
- return 1;
- }
- //Copyright 2013 - Nines.
Advertisement
Add Comment
Please, Sign In to add comment