ERRORS.
#3

I do. On the upper stock (LoginPlayer) .. I can't use a local variable for more stock or ?

LoginPlayer
Код:
stock LoginPlayer(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();
	
	
	while(mysql_fetch_row(query, " "))
	{
	    mysql_fetch_row(Player[playerid][Username], "Username");
 	   	mysql_fetch_row(Player[playerid][Password], "Password");

	}
	SpawnPlayer(playerid);
}
Doesn't matter-.. I resolved that. It happend cuz I had the saveplayer like that.. stock SavePlayer(playerid); when it should be SavePlayer(playerid)
Reply


Messages In This Thread
ERRORS. - by SpikeSpigel - 18.07.2015, 10:36
Re: ERRORS. - by zT KiNgKoNg - 18.07.2015, 10:41
Re: ERRORS. - by SpikeSpigel - 18.07.2015, 10:48

Forum Jump:


Users browsing this thread: 1 Guest(s)