Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. if(PlayerLie[i] && IsPlayerInDynamicArea(i, AreaInfo[arGreenZone][16]))
  2. {
  3. if(pInfo[i][pHeal] < 99.00)
  4. {
  5. if(pInfo[i][pVip])
  6. {
  7. GameTextForPlayer(i,"~w~+ 3 HP",300,4);
  8. SetHealth(i,pInfo[i][pHeal] + 3.0);
  9. }
  10. else
  11. {
  12. GameTextForPlayer(i,"~w~+ 1 HP",300,4);
  13. SetHealth(i,pInfo[i][pHeal] + 1.0);
  14. }
  15. PlayerPlaySound(i, 17803, 0.0, 0.0, 0.0);
  16. }
  17. else
  18. {
  19. BedDefault(i);
  20. pInfo[i][pCity] = 0;
  21. PlayerDied[i] = false;
  22. SendClientMessage(i, COLOR_GREEN, "Курс лечения пройден!");
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement