Vreo idee cum le pot rezolva?
(11420) : error 035: argument type mismatch (argument 2)
(11437) : error 035: argument type mismatch (argument 2)
(33227) : error 025: function heading differs from prototype
(33227) : error 025: function heading differs from prototype
Liniile:
case DIALOG_LOGIN2: {
if(!response) return Kick(playerid);
if(strlen(inputtext)) {
new tmppass[64];
mysql_real_escape_string(inputtext, tmppass);
OnPlayerLogin(playerid,MD5_Hash(tmppass)); // linia problema
}
///
case DIALOG_LOGIN3: {
if(!response) return Kick(playerid);
if(strlen(inputtext)) {
new tmppass[64];
mysql_real_escape_string(inputtext, tmppass);
OnPlayerLogin(playerid,MD5_Hash(tmppass)); // ljnia problema
}
///
function OnPlayerLogin(playerid,password[]) { // Linia problema
new playername2[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername2, sizeof(playername2));
new qstr[100];
new result[456];
format(qstr,100,"SELECT * FROM users WHERE `name`='%s' AND `password`='%s'",playername2,password);
mysql_query(SQL,qstr);
mysql_store_result();
if(mysql_num_rows() > 0) {
if(mysql_retrieve_row()) {
GameTextForPlayer(playerid, "~y~Loading account...", 20000, 4);
PlayerTextdraws(playerid);
Aceste erori au aparut dupa ce am adaugat #include <accs_system>