[Ajuda] Erro no codigo
#5

PHP код:
dcmd_facplayers(playeridparams[])
{
    new 
playersCMDplayersLLLplayers3CPplayersMLC;
    for(new 
0MAX_PLAYERS++)
    {
    if(
IsPlayerConnected(i) && PlayerInfo[i][pFaccoes] == || PlayerInfo[i][pFaccoes] == || PlayerInfo[i][pFaccoes] == 3)
    {
playersCMD ++;}
    if(
IsPlayerConnected(i) && PlayerInfo[i][pFaccoes] == || PlayerInfo[i][pFaccoes] == || PlayerInfo[i][pFaccoes] == 6)
    {
playersLLL ++;}
    if(
IsPlayerConnected(i) && PlayerInfo[i][pFaccoes] == || PlayerInfo[i][pFaccoes] == || PlayerInfo[i][pFaccoes] == 9)
    {
players3CP ++;}
    if(
IsPlayerConnected(i) && PlayerInfo[i][pFaccoes] == 10 || PlayerInfo[i][pFaccoes] == 11 || PlayerInfo[i][pFaccoes] == 12)
    {
playersMLC ++;}
    }
    new 
STring[4000], string1[4000];
    
format(STring, -1"CMD» %d players online."playersCMD);
    
strcat(string1,STring);
    
format(STring, -1"LLL» %d players online."playersLLL);
    
strcat(string1,STring);
    
format(STring, -1"TD3» %d players online."players3CP);
    
strcat(string1,STring);
    
format(STring, -1"MLC» %d players online."playersMLC);
    
strcat(string1,STring);
    
ShowPlayerDialog(playerid666 DIALOG_STYLE_MSGBOX"Todas facзхes do servidor"string1"OK""");
    return 
1;

Reply


Messages In This Thread
Erro no codigo - by henrique22157 - 05.03.2018, 20:36
Re: Erro no codigo - by [BOPE]Seu._.Madruga - 05.03.2018, 20:39
Re: Erro no codigo - by henrique22157 - 05.03.2018, 20:40
Re: Erro no codigo - by SrDivuOfficial - 05.03.2018, 20:54
Re: Erro no codigo - by zG - 05.03.2018, 21:04
Re: Erro no codigo - by IgorLuiz - 05.03.2018, 21:06
Re: Erro no codigo - by JohnBlack - 05.03.2018, 21:48
Re: Erro no codigo - by PilateGR - 05.03.2018, 23:00

Forum Jump:


Users browsing this thread: 2 Guest(s)