05.06.2017, 21:21
This is line 2070 to 2090, error should be in 2077 according to the error message.
But I guess that error message isn't showing it right, all errors in 2077?
But I guess that error message isn't showing it right, all errors in 2077?
Код:
public OnPlayerConnect(playerid) { new query[126], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); format(query), sizeof(query)"SELECT FROM accounts WHERE name = '%s'", pName); mysql_query(query); mysql_store_result(); if(mysql_num_rows()== 1); { SendClientMessage(playerid, -1, "That username is already in use!"); ShowPlayerDialog(playerid, 0, DIALOG_STYLE_IMPUT, "Login", "Please enter your password to login.", "Login", "Cancel");