SHARE
TWEET

Untitled

a guest Feb 27th, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CMD:ttc(playerid)
  2. {
  3.     new veh;
  4.     if(Player[playerid][Leader] < 1) return Message(playerid, "{F31212}•"WHT" Вам не доступна эта команда!");
  5.     if(DrugsInterval[playerid] > 1) return Message(playerid, ""WHT"Слишком рано.");
  6.     if(Player[playerid][Leader] == 1) for(veh=0; veh<=MAX_VEHICLES; veh++) if(SanCars(veh))
  7.     {
  8.         SetVehicleToRespawn(veh);
  9.         SetVehicleParamsEx(veh,0,0,alarm,doors,bonnet,boot,objective);
  10.     }
  11.     else if(Player[playerid][Leader] == 2) for(veh=0; veh<=MAX_VEHICLES; veh++) if(GroveCars(veh))
  12.     {
  13.         SetVehicleToRespawn(veh);
  14.         SetVehicleParamsEx(veh,0,0,alarm,doors,bonnet,boot,objective);
  15.     }
  16.     else if(Player[playerid][Leader] == 3) for(veh=0; veh<=MAX_VEHICLES; veh++) if(BallasCars(veh))
  17.     {
  18.         SetVehicleToRespawn(veh);
  19.         SetVehicleParamsEx(veh,0,0,alarm,doors,bonnet,boot,objective);
  20.     }
  21.     else if(Player[playerid][Leader] == 4) for(veh=0; veh<=MAX_VEHICLES; veh++) if(PolCars(veh))
  22.     {
  23.         SetVehicleToRespawn(veh);
  24.         SetVehicleParamsEx(veh,0,0,alarm,doors,bonnet,boot,objective);
  25.     }
  26.     format(stringi,sizeof(stringi),""ATZ"Лидер %s зареспавнил(а) фракционные автомобили.",Player[playerid][Name]);
  27.     DrugsInterval[playerid] += 120;
  28.     SendFractionMessage(Player[playerid][Leader],stringi);
  29.     SetPVarInt(playerid,"TTC",300);
  30.     return 1;
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