Jump to content
  • 0

luxAdmin


ruben88

Question

5 answers to this question

Recommended Posts

Pai mam uitat si la register este:

dcmd_CMD_REGISTER(playerid,params[])
{
    if (AccInfo[playerid][LoggedIn] == 1)
	return SendClientMessage(playerid,red,"ERROR: You are already registered and logged in.");

    if (udb_Exists(PlayerName2(playerid)))
	return SendClientMessage(playerid,red,"ERROR: This account already exists") &&
    SendClientMessage(playerid,orange,"Login to access your account ('/"#LoginCommand" [password]').");

    if (strlen(params) == 0)
	return SendClientMessage(playerid,orange,"Usage: '/"#RegisterCommand" [password]'");

    if (strlen(params) < 4 || strlen(params) > 20)
	return SendClientMessage(playerid,red,"ERROR: Your password length must be greater than 3 characters");

    if (udb_Create(PlayerName2(playerid)))
	{

asta este dar scrio orce pe server tot unkno command ami spune!

Ma ajuta cineva?  :'(

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.