Why don't you store it? sry just asking
Can I reset after logged in? like
btw thanks for ur comment
Can I reset after logged in? like
btw thanks for ur comment
PHP Code:
forward OnPasswordVerify(playerid, bool:success);
public OnPasswordVerify(playerid, bool:success) {
? ? if (success)
? ? {
? ? ? ? PasswordAttempts[playerid] = 0;
? ? ? ? CallLocalFunction("OnPlayerLogin", "d", playerid);
? ? ? ? Player_ResetAccountHash(playerid); // EOS
? ? }
? ? else
? ? {
? ? ? ? Account_PromptLogin(playerid);
? ? }
}