06.06.2017, 12:36
Code:
format(query), sizeof(query), "SELECT FROM accounts WHERE name = '%s'", pName;
Code:
format(query, sizeof(query), "SELECT FROM accounts WHERE name = '%s'", pName);
Code:
format(query), sizeof(query), "SELECT FROM accounts WHERE name = '%s'", pName;
Code:
format(query, sizeof(query), "SELECT FROM accounts WHERE name = '%s' AND PASSWORD = '%s'", pName, inputtext);
Code:
SendClientMessage(playerid, -1, "You have succesfully logged in!", SetSpawnInfo(playerid, 1, 299, 1, 2, 3, 1, 1, 1, 999, 1, 999, SpawnPlayer(playerid),;
Code:
SendClientMessage(playerid, -1, "You have succesfully logged in!"); SetSpawnInfo(playerid, 1, 299, 1, 2, 3, 1, 1, 1, 999, 1, 999); SpawnPlayer(playerid);
Code:
SendClientMessage(playerid, -1, "Incorrect password!", ShowPlayerDialog(playerid, 0, DIALOG_STYLE_INPUT, "Login", "Please enter your password to login.", "Login", "Cancel"), ,
Code:
SendClientMessage(playerid, -1, "Incorrect password!"); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_INPUT, "Login", "Please enter your password to login.", "Login", "Cancel");
Code:
GetPlayerName(playerid, pName, sizeof(pName) ); format (query, sizeof(query), "INSERT INTO accounts VALUES('%s', '%s')", pName, inputtext); mysql_query(query), SendClientMessage(playerid, -1, "You have succesfully registered your account!", SetSpawnInfo(playerid, 1, 299, 1, 2, 3, 1, 1, 1, 999, 1, 999, SpawnPlayer(playerid),
Code:
GetPlayerName(playerid, pName, sizeof(pName)); format (query, sizeof(query), "INSERT INTO accounts VALUES('%s', '%s')", pName, inputtext); mysql_query(query), SendClientMessage(playerid, -1, "You have succesfully registered your account!"); SetSpawnInfo(playerid, 1, 299, 1, 2, 3, 1, 1, 1, 999, 1, 999); SpawnPlayer(playerid);