28.06.2014, 09:32
why you check member loggedin when they don't login yet ?
function MasterAccountLogin
line : if(MasterAccount[playerid][mLoggedIn])
And why you need function AccountsExits when you already have this line in OnPlayerConnect
function MasterAccountLogin
line : if(MasterAccount[playerid][mLoggedIn])
And why you need function AccountsExits when you already have this line in OnPlayerConnect
Quote:
mysql_format(1, query, sizeof(query),"SELECT `mPassword`, `ID` FROM `MainAccount` WHERE `mOriginalUsername` = '%e' LIMIT 1", Player_Name[playerid]); mysql_tquery(1, query, "OnAccountCheck", "i", playerid); |