Jump to content
  • 0

Question

Posted

Nick:Johnny...

Salut am ales sa postez aici pentru ca este Discutii Scripting si in alta parte nam gasit.

Am si eu LuxAdmin editat dupa placu meu si vreau sa imi spuneti si mie de unde pot scoate auto Login din luxadmin adica sa nul mai login automat si sa apara duar

Regiser/Login

Eu am asa

La OnPlayerRequestSpawn

[pawn]

// Request Register

#if USE_DIALOGS == false

if(AccInfo[playerid][Registered] == 0 && ServerInfo[MustRegister] == 1 && (!IsPlayerNPC(playerid))){

SendClientMessage(playerid,lightred,"SERVER: Your account isn't registered. Please Register! | /"#RegisterCommand" [Password]");

return 0;

}

// Request Login

if(ServerInfo[MustLogin] == 1 && AccInfo[playerid][Registered] == 1 && AccInfo[playerid][LoggedIn] == 0 && (!IsPlayerNPC(playerid))){

SendClientMessage(playerid,lightred,"SERVER: Your account is registered. Please Login! | /"#LoginCommand" [Password]");

return 0;

}

#endif

[/pawn]

Ajutor/Soluti

Sunt un retardat

2 answers to this question

Recommended Posts

  • Administrator
Posted

Vezi ca din cate din minte era o parte cu IP in user.cfg sau cum se numea si verifica cand te loghezi daca ai acelasi IP.

Posted

T/C.

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

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.