Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
- {
- if(gTeam[playerid] == gTeam[damagedid])
- {
- new Float:health;
- GetPlayerHealth(damagedid,health);
- SetPlayerHealth(damagedid,health+amount);
- GameTextForPlayer(playerid, "~r~ DON'T TA", 2000, 3);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment