daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Dec 10th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CMD:strelk(playerid, params[])
  2. {
  3.     if(DeathMatch{playerid})
  4.     return SendClientMessage(playerid, -1, !"Вы уже на Death Match зоне."); // Если игрок на дм зоне
  5.    
  6.     if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid, -1, ""#net"Нельзя использовать в интерьере");
  7.     if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, ""#net"Нельзя использовать в машине");
  8.     if(PlayerTied{playerid}) return SendClientMessage(playerid, COLOR_WHITE, ""#net"Вы связаны!");
  9.     if(PlayerInfo[playerid][pJailTime]>0) return SendClientMessage(playerid, COLOR_WHITE, ""#net"Игрок в тюрьме");
  10.     if(PlayerInfo[playerid][pPrisonTime]>0) return SendClientMessage(playerid, COLOR_WHITE, ""#net"Игрок в деморгане");
  11.     if(GetPVarInt(playerid, "PlayerCuffed")) return SendClientMessage(playerid, -1, ""#net"Вы в наручниках");
  12.     DeathMatch{playerid} = true;
  13.     SendClientMessage(playerid, -1, !"Вы вошли на Death Match зону.");
  14.     return SpawnDeathMatch(playerid);
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top