Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(PlayerLie[i] && IsPlayerInDynamicArea(i, AreaInfo[arGreenZone][16]))
- {
- if(pInfo[i][pHeal] < 99.00)
- {
- if(pInfo[i][pVip])
- {
- GameTextForPlayer(i,"~w~+ 3 HP",300,4);
- SetHealth(i,pInfo[i][pHeal] + 3.0);
- }
- else
- {
- GameTextForPlayer(i,"~w~+ 1 HP",300,4);
- SetHealth(i,pInfo[i][pHeal] + 1.0);
- }
- PlayerPlaySound(i, 17803, 0.0, 0.0, 0.0);
- }
- else
- {
- BedDefault(i);
- pInfo[i][pCity] = 0;
- PlayerDied[i] = false;
- SendClientMessage(i, COLOR_GREEN, "Курс лечения пройден!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement