Jump to content

[DELETED]Problema comanda acoveroff


Extr3m3Tr3z
 Share

Recommended Posts

Salut, am pus comanda acoveroff de pe alt gamemode pe gamemode-ul meu si primesc anumite erori si nu stiu de unde sunt, help.

Comanda:

  CMD:acoveroff(playerid, params[], help) {
    if(PlayerInfo[playerid][pAdmin] < 5) return 1;
    if(GetPVarInt(playerid, "Cover") == 0) return SendClientMessage(playerid, -1, "Nu esti sub acoperire!");
    SetPVarInt(playerid, "Cover", 0);
    new clanid = PlayerInfo[playerid][pClan];
    new string[180];
    SendClientMessage(playerid, -1, "Nu mai esti sub acoperire!");
    if(PlayerInfo[playerid][pClan] != 0 && PlayerInfo[playerid][pTag] == 0) {
        format(string, sizeof(string), "%s%s", ClanInfo[clanid][clTag], PlayerInfo[playerid][pUsername]);
        SetPlayerName(playerid, string);
    }
    else if(PlayerInfo[playerid][pClan] != 0 && PlayerInfo[playerid][pTag] == 1) {
        format(string, sizeof(string), "%s%s", PlayerInfo[playerid][pUsername], ClanInfo[clanid][clTag]);
        SetPlayerName(playerid, string);
    }
    else SetPlayerName(playerid, PlayerInfo[playerid][pUsername]);
    SetPlayerToTeamColor(playerid);
    SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
    if(PlayerInfo[playerid][pChar] > 0)
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
    }
    else
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
    }
    return 1;
}

Erorile:

gamemode.pwn(21757) : error 017: undefined symbol "pTag"
gamemode.pwn(21758) : error 017: undefined symbol "clTag"
gamemode.pwn(21761) : error 017: undefined symbol "pTag"
gamemode.pwn(21762) : error 017: undefined symbol "pUsername"
gamemode.pwn(21765) : error 017: undefined symbol "pUsername"
gamemode.pwn(21768) : error 017: undefined symbol "pChar"
gamemode.pwn(21770) : error 017: undefined symbol "pChar"

 

Help

Link to comment
Share on other sites

  • Hall of Flame🔥

Topic-ul a fost șters deoarece nu ai respectat modelul de postare. Te rugăm sa revii cu alt topic in care să respecți modelul.

Topic șters!

ezgif-com-gif-maker-1-00000.png

Not So Zen SRL

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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