MYSQL Error
#2

New pawno compile error

Код:
argument type mismatch (argument 3)
pawn Код:
public OnPlayerRegister(playerid, password[])
{
    if(IsPlayerConnected(playerid))
    {
        new szLargeString[364];
        new playername3[MAX_PLAYER_NAME];
        GetPlayerName(playerid, playername3, sizeof(playername3));
        mysql_format(dbHandle, szLargeString, "INSERT INTO `Igraci` (`pProfil`, `pKey`) VALUES (`%s`, `%s`)", playername3, password);
        //^^^^^^^^^^ THAT LINE ^^^^^^^^^^^^^^^^
        mysql_function_query(dbHandle, szLargeString, false, "", "");
    }
}
Reply


Messages In This Thread
MYSQL Error - by NeroX98 - 01.07.2013, 11:30
Re: MYSQL Error - by NeroX98 - 01.07.2013, 12:12

Forum Jump:


Users browsing this thread: 1 Guest(s)