DELETE -
Hargrave - 01.06.2015
DELETE
Re: Login dialog; wait a few seconds and you're dead! -
rappy93 - 01.06.2015
Are you using the IBP-RP gamemode by any chance?
Re: Login dialog; wait a few seconds and you're dead! -
FrankLucretti - 01.06.2015
PHP код:
PlayerInfo[playerid][pDatabaseID] = mysql_fetch_int();
new string[128];
format( string, sizeof( string ), "Enter your password in the box below", GetPlayerNameEx(playerid) );
ShowPlayerDialog( playerid, 1, DIALOG_STYLE_PASSWORD,"LOGIN BITCH",string, "Login", "Cancer" );
TogglePlayerSpectating(playerid, 1);
gPlayerLogged[playerid] = 0;
mysql_free_result();
You need to add the STR Code
so we will add this:
PHP код:
STR &&
if( playerid, 90, STR, dis Result);
Then it will look like this
At the top Define <str.inc>
PHP код:
PlayerInfo[playerid][pDatabaseID] = mysql_fetch_int();
new string[128];
format( string, sizeof( string ), "Enter your password in the box below", GetPlayerNameEx(playerid) );
ShowPlayerDialog( playerid, 1, DIALOG_STYLE_PASSWORD,"LOGIN BITCH",string, "Login", "Cancer" );
ifplayer (string, sizeoff ) if( playerid, 90, STR, dis Result);
TogglePlayerSpectating(playerid, 1);
gPlayerLogged[playerid] = 0;
mysql_free_result();
Please +1rep thank you bro
Re: Login dialog; wait a few seconds and you're dead! -
Stanford - 01.06.2015
Maybe you have loading delays or problem with saving? Does it load the other stats?
Re: Login dialog; wait a few seconds and you're dead! -
Hargrave - 01.06.2015
Quote:
Originally Posted by rappy93
Are you using the IBP-RP gamemode by any chance?
|
Yep, playing around with it
To the others; I'll check it out, thanks. BRB.
Re: Login dialog; wait a few seconds and you're dead! -
rappy93 - 01.06.2015
I remember having this issue as well and it had something to do with the 'accounts' table design. Check each field and make sure it is properly set up. If its still causing problems check the login/register functions and debug it with print functions.
Re: Login dialog; wait a few seconds and you're dead! -
Hargrave - 02.06.2015
Yep, well now fuck. I was trying to replace a word through all the commands files that I have got, and somehow it replaced all the files with that word. Of coruse! So now I've lost two days of work and gotta start from scratch on editing that gamemode. Don't have a restore point, damn! RIP.
/LOCKED