Jump to content
  • 0

Problema gamemode Burned | Nu se pot conecta



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);
    if(mysql_num_rows() > 0) {
      	if(mysql_retrieve_row()) {
			GameTextForPlayer(playerid, "~y~Loading account...", 20000, 4);


Edited by Asura
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.