OnPlayerLogin Problem +rep
#1

Hello All i have this problem if this problem has been fixed i will give +rep

Here The Errors:

Code:
C:\Users\Gravelli\Desktop\SAMP-RP\gamemodes\LSRP.pwn(8811) : error 025: function heading differs from
(argument 2)
Here OnPlayerLogin Code:

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;
}
Reply


Messages In This Thread
OnPlayerLogin Problem +rep - by Barnwell - 30.01.2015, 21:48
Re: OnPlayerLogin Problem +rep - by Youssef221 - 30.01.2015, 21:56
Re: OnPlayerLogin Problem +rep - by Abagail - 30.01.2015, 22:19
Re: OnPlayerLogin Problem +rep - by PowerPC603 - 30.01.2015, 23:46
Re: OnPlayerLogin Problem +rep - by icra - 31.01.2015, 01:02

Forum Jump:


Users browsing this thread: 1 Guest(s)