accounts problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: accounts problem (
/showthread.php?tid=430620)
accounts problem -
Gaby29 - 14.04.2013
Hi! Sorry for my bad english... I have a problem..I do not save player accounts... please help..
Re: accounts problem -
zT KiNgKoNg - 14.04.2013
Please tell us more about the problem.
Re: accounts problem -
Gaby29 - 14.04.2013
So...get on the server, I registered, I play, but I walk and have to start over ...did not find my account in scriptfiles..
Re: accounts problem -
Faisal_khan - 14.04.2013
Did you made a folder in scriptfiles called Players or something?
Re: accounts problem -
Gaby29 - 14.04.2013
Quote:
Originally Posted by Faisal_khan
Did you made a folder in scriptfiles called Players or something?
|
Yes I did, but nothing
Re: accounts problem -
Denying - 14.04.2013
Quote:
Originally Posted by Faisal_khan
Did you made a folder in scriptfiles called Players or something?
|
Depends if he's actually trying to save it in a folder ( Which is suggested ).
Show us some code, please.
Re: accounts problem -
Gaby29 - 14.04.2013
Quote:
Originally Posted by Denying
Depends if he's actually trying to save it in a folder ( Which is suggested ).
Show us some code, please.
|
This is good?
pawn Код:
//new loginstring[128];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname));
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"{FFFFFF}Login/Register","{FFFFFF}Parolele nu se potrivesc!\n{FFFFFF}Scrie {ee5555}parola contului tau {FFFFFF}mai jos:","Logare","Iesi");
SetPlayerFacingAngle(playerid, 3.41);
SetPlayerCameraPos(playerid, 1500.7156,-1778.1880,80.3080);
SetPlayerCameraLookAt(playerid, 1500.7156,-1778.1880,80.3080);
SetPlayerPos(playerid, 1437.6957,-2266.6355,13.5469);
SetPlayerTime(playerid, 24, 0);
//fclose(UserFile);
mysql_free_result();
gPlayerLogTries[playerid] += 1;
if(gPlayerLogTries[playerid] == 4) { Kick(playerid); }
return 1;
}