Jump to content

[REZOLVAT] Eroare comanda /pc


CoKKeAdv
 Share

Recommended Posts

Acum 3 ore, CoKKeAdv a spus:

Uite , la comanda ta  nu am primit decat 3 warning , defapt am primit o eroare,si dupa am definit PremiumChat.

Acum cand tastez in joc /pc si scriu ceva,nu se trimite.

Daca imi dau set premium 0 , primesc eroarea, dar in rest cand am premium , nu se trimite mesajul.

adauga asta la forward

forward PremiumChat(color,const string[],level) ;

 

si asta la sfarsit in gm 

public PremiumChat(color,const string[],level)
{
    foreach(Player, i)
    {
        if(IsPlayerConnected(i))
        {
             if (PlayerInfo[pPremiumAccount] >= level)
             {
                 SendClientMessage(i, color, string);
             }
        }
    }
    printf("%s", string);
    return 1;
}

Link to comment
Share on other sites

Acum 14 ore, AndreYs a spus:

adauga asta la forward

forward PremiumChat(color,const string[],level) ;

 

si asta la sfarsit in gm 

public PremiumChat(color,const string[],level)
{
    foreach(Player, i)
    {
        if(IsPlayerConnected(i))
        {
             if (PlayerInfo[pPremiumAccount] >= level)
             {
                 SendClientMessage(i, color, string);
             }
        }
    }
    printf("%s", string);
    return 1;
}

Nu se mai compileaza acum.

Link to comment
Share on other sites

Problema a fost rezolvată.

Topic închis!

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...