_iLustcheR_

SAMP-IL 0.3z Code by LustcheR

Mar 11th, 2014
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.37 KB | None | 0 0
  1. public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
  2. {
  3.     if(IsPlayerAdmin(hitid) && weaponid != 38)
  4.     {
  5.         new Float:HP;
  6.         if(GetPlayerHealth(hitid, HP) < 100) return SetPlayerHealth(hitid, 100);
  7.         SendClientMessage(playerid, 0xFF0000AA, "You can kill rcon admin only with Minigun weapon.");
  8.     }
  9.     return 1;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment