Jump to content
  • 0

Ajutor /n


alexutu

Question

Salut,amsi eu urmatoare prob la newbuyechat am adaugat ca si lideri sa poata vb pe chat avand orce lvl dar nu mia reusit am facut asa

[pawn]     if (PlayerInfo[playerid][pLeader] == 1)

    {

                format(string, sizeof(string), "* Lider {33FF33}%s: {C9FFAB}%s", sendername, result);

    }[/pawn]

si aici

[pawn]            if (IsPlayerConnected(n) && (PlayerInfo[n][pLevel] < 4 || PlayerInfo[n][pAdmin] > 0 || PlayerInfo[n][pHelper] > 0 || PlayerInfo[n][pDonateRank] > 0))[/pawn]

am adaugat asta

[pawn]|| PlayerInfo[n][pLeader] > 0)[/pawn]

dar iau eroroarea asta

[pawn]C:\Users\ghuest\Desktop\ForTeam Romania\gamemodes\ftrp.pwn(45087) : error 029: invalid expression, assumed zero[/pawn]

  iar la aceas linie e asta

[pawn]            if (IsPlayerConnected(n) && (PlayerInfo[n][pLevel] < 4 || PlayerInfo[n][pAdmin] > 0 || PlayerInfo[n][pHelper] > 0 || PlayerInfo[n][pDonateRank] > 0) || PlayerInfo[n][pLeader] > 0))[/pawn]

(?_?_?_?(???????????(??_?_?_??K??E??N??T?????????_?_?_?_?()??

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.