[Ajuda] Total de players no times
#8

PHP код:
dcmd_totaltimes(playeridparams[])  
{  
    
#pragma unused params  
    
new ptTotalTime1 0ptTotalTime2  =0
    for(new 
0MAX_PLAYERSi++)  
    {  
        if(!
IsPlayerConnected(i))  
            continue;  
        if(
Player[i][pTime1] == 1)  
            
ptTotalTime1 ++;  
        else if(
Player[i][pTime2] == 1)  
            
ptTotalTime2 ++;  
    }  
    new 
String[150];  
    
format(Stringsizeof(String), "{FFFFFF}Players Time 1:%d\n{FFFFFF}Players Time 2: %d"ptTotalTime1ptTotalTime2);  
    
ShowPlayerDialog(playerid96251DIALOG_STYLE_MSGBOX"Total Players dos Times"String"Ok""");  
    return 
1;  

se assim nao funcionar nao entendo pq nao esta dando e tera de especificar melhor esse seu sistema..
Reply


Messages In This Thread
Total de players no times - by cellps - 22.11.2016, 09:36
Re: Total de players no times - by PT - 22.11.2016, 13:34
Re: Total de players no times - by cellps - 23.11.2016, 19:22
Re: Total de players no times - by XandyMello - 23.11.2016, 19:27
Re: Total de players no times - by PT - 24.11.2016, 14:53
Re: Total de players no times - by cellps - 24.11.2016, 15:12
Re: Total de players no times - by cellps - 25.11.2016, 09:54
Re: Total de players no times - by PT - 25.11.2016, 17:46
Re: Total de players no times - by pWesley - 25.11.2016, 17:49
Re: Total de players no times - by cellps - 27.11.2016, 13:33

Forum Jump:


Users browsing this thread: 3 Guest(s)