Help pls
#1

Hi, I was doing a certification system for administrators but I have these errors.


Errors:

Код:
C:\Aventure Roleplay\gamemodes\AVENTURE.pwn(961) : error 017: undefined symbol "Checkaccount"
C:\Aventure Roleplay\gamemodes\AVENTURE.pwn(1599) : error 017: undefined symbol "Checkaccount"
Lines:

Код:
    new NameA[MAX_PLAYER_NAME];
    GetPlayerName(playerid, NameA, sizeof(NameA));
    if(!Checkaccount(NameA))  // Error 961
    {
        SendClientMessage(playerid, -1, "You are not a certified administrator.");
        SetTimerEx("Kickear", 500, false, "i", playerid);
    }




      if(dialogid == D_Certified)
    {
        if(response)
        {
            if(!strlen(inputtext))
            {
               SendClientMessage(playerid, -1, "You have not entered the name of the account.");
                return ShowPlayerDialog(playerid, D_Certified, DIALOG_STYLE_INPUT, "Test", "Test:", ">", "x");
            }
            if(Checkaccount(inputtext))  //Line 1599
            {
                new Message[29 + MAX_PLAYER_NAME];
                format(Message, sizeof(Message), "Account %s It was certified.", inputtext);
                SendClientMessage(playerid, -1, Message);
            } else {
                new Message[29 + MAX_PLAYER_NAME];
                format(Message, sizeof(Message), "Account  %s Not certified.", inputtext);
                SendClientMessage(playerid, -1, Message;
            }
        }
        return 1;
    }
Reply


Messages In This Thread
Help pls - by LOLITO - 29.07.2018, 17:09
Re: Help pls - by Florin48 - 29.07.2018, 17:13
Re: Help pls - by LOLITO - 29.07.2018, 17:16
Re: Help pls - by Florin48 - 29.07.2018, 17:19
Re: Help pls - by LOLITO - 29.07.2018, 17:30
Re: Help pls - by Florin48 - 29.07.2018, 17:35
Re: Help pls - by LOLITO - 29.07.2018, 17:41
Re: Help pls - by Florin48 - 29.07.2018, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)