- 0
Probleme
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
jupanu
Am bagat system de admin in GM si si in fscriptfiles este ladmin si nu salveaza conturile in ladmin/user si nu ciuteste \ladmin\config absolut nimik si conturile acum se salveaza in scriptfiles .dudb in locc sa se salveaze .sav stiti cumva ce are?
ce am gresit aici unde se facc conturile in /ladmin/users/?
//----------------------------------------------------- new Registre[128]; new name[MAX_PLAYER_NAME]; if(!udb_Exists(PlayerName2(playerid))) { GetPlayerName(playerid,name,MAX_PLAYER_NAME); format(Registre,sizeof(Registre),"{0049FF}Welcome {FFFF00}%s!\n\n{FA0000}Please register to continue!",name); ShowPlayerDialog(playerid,128,DIALOG_STYLE_INPUT,"Register",Registre,"Register","Ban"); } else { PlayerInfo[playerid][Registered] = 1; format(file,sizeof(file),"/ladmin/users/%s.sav",udb_encode(PlayerName)); new tmp2[256]; tmp2 = dini_Get(file,"ip"); if( (!strcmp(tmp3,tmp2,true)) && (ServerInfo[AutoLogin] == 1) ) { LoginPlayer(playerid); if(PlayerInfo[playerid][Level] > 0) { format(string,sizeof(string),"{00CEFC}ACCOUNT: {00FF19}You have been automatically logged in. {FFFFFF}({00CEFC}Level {FC0303}%d{FFFFFF})", PlayerInfo[playerid][Level] ); SendClientMessage(playerid,green,string); } else SendClientMessage(playerid,green,"{00CEFC}ACCOUNT: {00FF19}You have been automatically logged in."); } else SendClientMessage(playerid, green, "{00CEFC}ACCOUNT: {00FF19}This nickname is registed {FC0303}, {00FF19}you can now login by typing {FC0303}/login {FFFFFF}[{00CEFC}password{FFFFFF}]"); }18 answers to this question
Recommended Posts