SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         new Float:ppos[3];
  2.         GetPlayerPos(killerid, ppos[0],ppos[1],ppos[2]);
  3.         if(IsPlayerInRangeOfPoint(playerid, 30.0, ppos[0],ppos[1],ppos[2]))
  4.         {
  5.             if(PlayerDB[killerid][JailTime] > 0)
  6.                 PlayerDB[killerid][JailTime] += 10;
  7.             }
  8.             else
  9.             {
  10.             if(!IsPlayerInDynamicArea(playerid, A51Zona, 1))
  11.             {
  12.                 if(!(IsPlayerInWarZone(killerid) || IsPlayerInWarZone(playerid)))
  13.                 {
  14.                     if(PlayerDB[killerid][Job] != 1 || PlayerDB[killerid][Job] != 6 || PlayerDB[killerid][Job] != 9 || PlayerDB[killerid][Job] != 11)
  15.                     {
  16.                         if(!PlayerInZone(playerid, -2813.5806, -2510, 2944.2075, 2957.7319))
  17.                         {
  18.                             PlayerDB[killerid][WantedLevel]+=2;
  19.                         }
  20.                     }
  21.                     else if(PlayerDB[killerid][Job] != 7 || PlayerDB[killerid][Job] != 8)
  22.                     {
  23.                         if(!PlayerInZone(playerid, -841.4291,718.3094,-621.0016,1025.2534) || !PlayerInZone(playerid, -956.6130,-1562.4879,-1216.9076,-1744.4363))
  24.                         {
  25.                             PlayerDB[killerid][WantedLevel]+=2;
  26.                         }
  27.                     }
  28.  
  29.                     if(IsJobFromLaw(PlayerDB[killerid][Job]) && PlayerDB[playerid][WantedLevel] > 0)
  30.                     {
  31.                         RemovePlayerAttachedObject(playerid, 1);
  32.                         ResetPlayerWeaponsEx(playerid);
  33.                         PlayerDB[playerid][ClothesBeforeJail] = GetPlayerSkin(playerid);
  34.                         PlayerDB[playerid][AprangaBeforeJail] = PlayerDB[playerid][AprangosTipas];
  35.                         PlayerDB[playerid][JailTime] = PlayerDB[playerid][WantedLevel] * 45;
  36.                         SetPlayerHealthEx(playerid, 1000);
  37.                         PlayerDB[playerid][WantedLevel] = 0;
  38.                         SetPlayerColor(playerid,GREY2);
  39.                         PlayerDB[playerid][Surakintas] = false;
  40.                         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
  41.                         new string[144];
  42.                         format(string, 144, "* Jûs buvote pasodintas á kalëjimà uþ ávairius nusikaltimus %i sek.", PlayerDB[playerid][JailTime]);
  43.                         SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
  44.                         TeleportPlayerInToJail(playerid);
  45.                         PlayerDB[killerid][WantedLevel]=0;
  46.                     }
  47.                 }
  48.             }
  49.         }
  50.         new string[256];
  51.         format(string, 256, "{45be55}*** Praradote {ff0000}200€{45be55} uþ %s nuþudymà", Vardas(playerid));
  52.         SendClientMessage(killerid, ZALIA, string);
  53.         GivePlayerMoneyA(killerid, -200);
  54.         PlayerDB[killerid][WantedLevel]+=10;
  55.     }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top