Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
- {
- if(IsPlayerAdmin(hitid) && weaponid != 38)
- {
- new Float:HP;
- if(GetPlayerHealth(hitid, HP) < 100) return SetPlayerHealth(hitid, 100);
- SendClientMessage(playerid, 0xFF0000AA, "You can kill rcon admin only with Minigun weapon.");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment