Argument Type Mismatch Error.
#1

pawn Код:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_data", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, ""COL_WHITE"Login",""COL_WHITE"Type your password below!", "Login", "Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, ""COL_WHITE"Register", ""COL_WHITE"Create an account by entering your password below!", "Register", "Quit");
    }
    return 1;
}
Here are the errors:
pawn Код:
E:\GTA\Servers\1st\gamemodes\1st.pwn(52) : error 035: argument type mismatch (argument 1)
E:\GTA\Servers\1st\gamemodes\1st.pwn(54) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)