Не могу выйти из больницы

Description: Вопросы по скриптингу (Излагай ясно, проси мало, уходи быстро)
Moderator: SJplayer

VlaDoS
Topic author, Рядовой
Рядовой
Avatar
VlaDoS
Topic author, Рядовой
Рядовой
Reputation: 0
Posts: 6
Joined: 28 Jul 2017
With us: 1 year 10 months

#11by VlaDoS » 4 Aug 2017, 11:57

Code: Select all

// HOSPITAL CHECK
            
if(PlayerLie[i] && InHospital[i])
            {
                   if(
PI[i][pHeal] < 99.00)
                   {
                    if(
PI[i][pVip])
                    {
                        
GameTextForPlayer(i,"~w~+ 3 HP",300,4);
                        
SetHealth(i,PI[i][pHeal] + 3.0);
                    }
                    else
                    {
                        
GameTextForPlayer(i,"~w~+ 1 HP",300,4);
                        
SetHealth(i,PI[i][pHeal] + 1.0);
                    }
                    
PlayerPlaySound(i178030.00.00.0);
                }
                else
                {
                   
BedDefault(i);
                   
PI[i][pCity] = 0;
                   
PlayerDied[i] = false;
                   
SendClientMessage(iCOLOR_GREEN"Êóðñ ëå÷åíèÿ ïðîéäåí");
                }
            } 

! ! !



  • Similar Topics
    Replies
    Views
    Last post

Return to “Вопросы”