Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- OnPlayerShootPlayer by CreativityLacker
- Version BETA
- */
- #include <a_samp>
- forward OnPlayerShootPlayer(playerid, targetid, weaponid, Float:amount);
- public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
- {
- switch(weaponid)
- {
- case 22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39:
- {
- if(issuerid == INVALID_PLAYER_ID) return 0;
- if(playerid == INVALID_PLAYER_ID) return 0;
- else CallRemoteFunction("OnPlayerShootPlayer", "iidf",issuerid, playerid, weaponid, amount );
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement