30.01.2015, 21:48
Hello All i have this problem if this problem has been fixed i will give +rep
Here The Errors:
Here OnPlayerLogin Code:
Here The Errors:
Code:
C:\Users\Gravelli\Desktop\SAMP-RP\gamemodes\LSRP.pwn(8811) : error 025: function heading differs from (argument 2)
pawn Code:
stock OnPlayerLogin(playerid, password[])
{
new
sqlQuery[300],
password2 = num_hash(password)
;
format(sqlQuery, sizeof(sqlQuery), "SELECT * FROM samp_users WHERE `Username`='%s' AND `Password`='%d'", GPN(playerid), password2);
mysql_query(sqlQuery, THREAD_LOGIN, playerid);
return 1;
}