Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.58 KB | None | 0 0
  1. public TagAreaCheck()
  2. {
  3.     if(TagVar == -1)
  4.     {
  5.         if(TagFives != 35)
  6.         {
  7.             foreach(TagPlrs, i)
  8.             {
  9.                 if(!IsPlayerInArea(i, -2347.3958, -275.5192, -2528.8052, -236.7790)) //strefa
  10.                 {
  11.                     if(GetPVarInt(i, "TagWarn") == 1)
  12.                     {
  13.                         SetPlayerHealth(i, 0.0);
  14.                         SendClientMessage(i, 0xFFFFFFFF, "Za dlugo byles po za strefa");
  15.                     }
  16.                     else
  17.                     {
  18.                         SetPVarInt(i, "TagWarn", 1);
  19.                         SendClientMessage(i, 0xFFFFFFFF, "Wracaj do strefy");
  20.                     }
  21.                 }
  22.             }
  23.             TagFives++;
  24.             SetTimer("TagAreaCheck", 5000, 0);
  25.         }
  26.         else
  27.         {
  28.  
  29.         }
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement