Advertisement
seriu_

Untitled

Aug 27th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.52 KB | None | 0 0
  1. public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
  2. {
  3.     if(hittype == BULLET_HIT_TYPE_PLAYER && hitid != INVALID_PLAYER_ID)
  4.     {
  5.         if(capture == true && ZoneTimerSec > 3)
  6.         {
  7.             if(Player[playerid][mClan] == ClanIDTwo && Player[hitid][mClan]==ClanID
  8.             ||Player[playerid][mClan] == ClanID && Player[hitid][mClan] == ClanIDTwo)
  9.             {
  10.                 SendClientMessage(playerid,COLOR_RED,!"До начала капта нельзя убивать!");
  11.                 return 0;
  12.             }
  13.         }
  14.     }
  15.     return 1;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement