Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Problema gamemode Burned | Nu se pot conecta


Question

Posted (edited)

Buna ziua am o problema la gamemode Burned by Edison.

Nu se pot conecta mai mult de 3 persoane pe server.

Am cautat in onplayerlogin / max_players / onplayerregister si nimic.

Va multumesc

function OnPlayerLogin(playerid,password[]) {
	new playername2[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    new qstr[128];
    showserverjobgoal[playerid] = 1;
	new manevra[64];
	format(manevra, 64, "~y~$%s~w~ /~g~ $750.000", FormatNumber(server_jobgoal));
	TextDrawSetString(jobgoaltextdraw[1], manevra);
	TextDrawShowForPlayer(playerid, jobgoaltextdraw[0]);
	TextDrawShowForPlayer(playerid, jobgoaltextdraw[1]);
    new result[456];
    format(qstr,128,"SELECT * FROM users WHERE `name`='%s' AND `password`='%s'",playername2,password);
    mysql_query(SQL,qstr);
    mysql_store_result();
    if(mysql_num_rows() > 0) {
      	if(mysql_retrieve_row()) {
			GameTextForPlayer(playerid, "~y~Loading account...", 20000, 4);
			PlayerTextdraws(playerid);

 

Edited by Asura

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.