01.07.2013, 12:12
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, "", "");
}
}