Dudb users
#1

Hello, I'm using udb system to save accounts.
I register an account, But I do not find in scriptfiles folder, But when I reconnect, I see that the account is registered and the stats are saved, How can I know where is the file saved ?
Reply
#2

How can I know where the file is saved if I ain't got no goddamned code?
Reply
#3

Quote:
Originally Posted by sammp
Посмотреть сообщение
How can I know where the file is saved if I ain't got no goddamned code?
There is no code in my gamemode script to make the files save in specified file in scriptfiles.
It must be saved on MySVR/scriptfiles not anywhere else.

Код:
if (udb_Create(PlayerName(playerid),inputtext))
		{
			PLAYERLIST_authed[playerid]=1;
	     	dUserSetINT(PlayerName(playerid)).("Money",500);
		    dUserSetINT(PlayerName(playerid)).("Score",0);
		    dUserSetINT(PlayerName(playerid)).("AdminLevel",0);
		    dUserSetINT(PlayerName(playerid)).("Job",NOJOB);
		    GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("Money")-GetPlayerMoney(playerid));
		    SetPlayerScore(playerid,dUserINT(PlayerName(playerid)).("Score")-GetPlayerScore(playerid));
		    AdminLevel[playerid] =dUserINT(PlayerName(playerid)).("AdminLevel");
		    Job[playerid] =dUserINT(PlayerName(playerid)).("Job");
		    SelectedJob[playerid] = 0;
		}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)