loose identation, again
#5

Quote:
Originally Posted by OneDay
Посмотреть сообщение
PHP код:
        case 29..55:
        {
            switch (
step)
            {
                case 
1:
                {
                    
prohodtime SetTimer("TextDrawProhod3"450true);
                    
TextDrawSetString(CasinoDraw[11], "Rolling roulette..");
                }
                case 
10:
                {
                    foreach (new 
Player)
                    {
                        
HideCasino(i);
                        
TextDrawBoxColor(CasinoDraw[1], 0x000000AA);
                        
TextDrawBoxColor(CasinoDraw[2], 0xFF0000AA);
                        
TextDrawBoxColor(CasinoDraw[3], 0x000000AA);
                        
TextDrawBoxColor(CasinoDraw[4], 0xFF0000AA);
                        
TextDrawBoxColor(CasinoDraw[5], 0x000000AA);
                        
TextDrawBoxColor(CasinoDraw[6], 0xFF0000AA);
                        
TextDrawBoxColor(CasinoDraw[7], 0x000000AA);
                        
ShowCasino(i);
                        if (
betplayer[i] == 14)
                        {
                            
SendClientMessage(i, -1"?? ???????? x2 ??????. ??????? ??????? ????.");
                            
GivePlayerMoney(ibetsumma[i]*2);
                            
PlayerPlaySound(i430010.00.00.0);
                        }
                        else if (
betplayer[i] == 10 || betplayer[i] == 4)
                        {
                            
SendClientMessage(i, -1"?? ?????????. ??????? ??????? ????.");
                            
PlayerPlaySound(i10850.00.00.0);
                        }
                        
betsumma[i] = 0;
                        
betplayer[i] = 0;
                        
PlayerTextDrawSetString(iCasinoDrawPlayer[i][1], "BET: NONE");
                    }
                    
RouletteTime 20;
                    
TotalBet 0;
                    
RouletteStatus 0;
                    
step 0;
                    
step2 0;
                    
step3 0;
                    
podkrut 0;
                    for (new 
i3i++)
                    {
                        
totalbet[i] = 0;
                        
totalsumma[i] = 0;
                    }
                    
KillTimer(playtime);
                    
KillTimer(prohodtime);
                    
TextDrawSetString(CasinoDraw[11], "Win red");
                    
TextDrawSetString(CasinoDraw[13], "0 users total 0$");
                    
TextDrawSetString(CasinoDraw[15], "0 users total 0$");
                    
TextDrawSetString(CasinoDraw[17], "0 users total 0$");
                    return 
true;
                }
            }
        }
        default:
        {
            foreach (new 
Player)
            {
                
SendClientMessage(i, -1"???? ??????????.");
            }
        }
    }
    return 
true;

do you hate spacing?
getting mindfucked when doing it )

fixed, ty
Reply


Messages In This Thread
loose identation, again - by enzulikeS - 06.03.2018, 10:39
Re: loose identation, again - by MrThomas - 06.03.2018, 10:44
Re: loose identation, again - by enzulikeS - 06.03.2018, 10:47
Re: loose identation, again - by OneDay - 06.03.2018, 10:47
Re: loose identation, again - by enzulikeS - 06.03.2018, 10:53
Re: loose identation, again - by Sew_Sumi - 06.03.2018, 17:15

Forum Jump:


Users browsing this thread: 1 Guest(s)