Jump to content
  • 0

Inregistrare pe site


Donear

Question

Problema intalnita (descriere): Am un gm unde cere register pe site,cum o scot
Ero(area / rile) / warning-(ul / urile): Nu are,dar nu stiu sa scot faza cu register,cum fac

Liniile de cod / sursa / script-ul(obligatoriu): 

        PlayerInfo[playerid][pDatabaseID] = mysql_fetch_int();
			// Start shit
			new string[128];
			format( string, sizeof( string ), "{FFFFFF}Welcome, {00C0FF}%s{FFFFFF} !nnEnter your password in the box below", GetPlayerNameEx(playerid) );
            ShowPlayerDialog( playerid, 1, DIALOG_STYLE_PASSWORD,"{FFFFFF}County RolePlay{FFFFFF}",string, "Login", "Exit" );
            SetTimerEx("LogTimer", 60000, 0, "d", playerid);
		    //TogglePlayerSpectating(playerid, 1);
		    //InterpolateCameraPos(playerid, 838.256958, -2255.666015, 28.207962, 795.577819, -1796.068237, 58.673408, 1000);
            //InterpolateCameraLookAt(playerid, 838.473815, -2250.677001, 27.958066, 796.360046, -1791.334350, 57.266872, 1000);
			gPlayerLogged[playerid] = 0;
			mysql_free_result();
        }
    }
    else
	{
    mysql_free_result();
    gPlayerLogged[playerid] = 0;
	SendClientMessage(playerid, COLOR_LIGHTRED, "You don't have an account registered ! Please Create an account www.county-rp.com!");
	SetTimerEx("LogTimer", 6000, 0, "d", playerid);
	}
	return 1;
}

Imagini / Video (optional): sa_mp_022.png

Ati incercat sa rezolvati singur?:: Da,dar nu am reusit

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
  • 0
  • 0
PlayerInfo[playerid][pDatabaseID] = mysql_fetch_int();
            // Start shit
            new string[128];
            format( string, sizeof( string ), "{FFFFFF}Welcome, {00C0FF}%s{FFFFFF} !nnEnter your password in the box below", GetPlayerNameEx(playerid) );
ShowPlayerDialog( playerid, 1, DIALOG_STYLE_PASSWORD,"{FFFFFF}County RolePlay{FFFFFF}",string, "Login", "Exit" );
SetTimerEx("LogTimer", 60000, 0, "d", playerid);
         //TogglePlayerSpectating(playerid, 1);
         //InterpolateCameraPos(playerid, 838.256958, -2255.666015, 28.207962, 795.577819, -1796.068237, 58.673408, 1000);
//InterpolateCameraLookAt(playerid, 838.473815, -2250.677001, 27.958066, 796.360046, -1791.334350, 57.266872, 1000);
            gPlayerLogged[playerid] = 0;
            mysql_free_result();
}
}
else
    {
mysql_free_result();
gPlayerLogged[playerid] = 0;
    new string[128];
            format( string, sizeof( string ), "{FFFFFF}Welcome, {00C0FF}%s{FFFFFF} !nnEnter your password in the box below", GetPlayerNameEx(playerid) );
ShowPlayerDialog( playerid, 1, DIALOG_STYLE_PASSWORD,"{FFFFFF}County RolePlay{FFFFFF}",string, "Login", "Exit" );
SetTimerEx("LogTimer", 60000, 0, "d", playerid);
         //TogglePlayerSpectating(playerid, 1);
         //InterpolateCameraPos(playerid, 838.256958, -2255.666015, 28.207962, 795.577819, -1796.068237, 58.673408, 1000);
//InterpolateCameraLookAt(playerid, 838.473815, -2250.677001, 27.958066, 796.360046, -1791.334350, 57.266872, 1000);
    }
    return 1;
}

Cum nu vreti sa ascultati,ca stiu ce zic!

Am si eu gmu asta si stiu care e faza dar imi pare rau nu o sa te mai ajut de aici te descurci,

 

De ce?

De aia.

Edited by Adrian_Petre

 

 

Link to comment
Share on other sites

  • 0

Nu suntem nevoiti sa invatam si notiunile de baza ale programului pawno. Exista deja zeci de tutoriale (in engleza si in romana la noi). Daca nici atata lucru nu stii sa faci, noi nu putem sa dam totul mura-n gura.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.