Jump to content

Warning (Ma bate rau asta)


Lio
 Share

Recommended Posts

  • Username:Lio

  • Problemă Ã®ntâlnită:Un warning la o functie

Detalii despre problemă:la aceasta linie imi da new Cache:result = mysql_query(handle, gQuery); warning 219: local variable "result" shadows a variable at a preceding level

Ce ai încercat să faci înainte să postezi?:-

Cod sursă (recomandat pastebin.com):https://pastebin.com/hxpdzQVJ

Alte detalii:-

Link to comment
Share on other sites

  • Administrator
function check_mysql_account(sql_player_name[]) 
{
	gString[0] = (EOS);

	format(gString, sizeof gString, "SELECT * FROM `players_account` WHERE `PlayerName` = '%s' LIMIT 1", sql_player_name);

	new Cache: result = mysql_query(SQL, gString);
	new exista_cont = cache_get_row_count();
	
	cache_delete(result);
	if(exista_cont != 0) return 1;
	
	return 0;
}

Cu placere.  :wink:

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...