Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public TagAreaCheck()
- {
- if(TagVar == -1)
- {
- if(TagFives != 35)
- {
- foreach(TagPlrs, i)
- {
- if(!IsPlayerInArea(i, -2347.3958, -275.5192, -2528.8052, -236.7790)) //strefa
- {
- if(GetPVarInt(i, "TagWarn") == 1)
- {
- SetPlayerHealth(i, 0.0);
- SendClientMessage(i, 0xFFFFFFFF, "Za dlugo byles po za strefa");
- }
- else
- {
- SetPVarInt(i, "TagWarn", 1);
- SendClientMessage(i, 0xFFFFFFFF, "Wracaj do strefy");
- }
- }
- }
- TagFives++;
- SetTimer("TagAreaCheck", 5000, 0);
- }
- else
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement