14.04.2016, 13:53
Thanks for the easy step, and I also have the same warning at a different place.
This is being used at:
pawn Код:
function IsBankHolder(name[24])
{
mysql_format(MySQL, gQuery, 128, "SELECT * FROM `"Banks_Table"` WHERE `Holder` = '%e'", name);
mysql_tquery(MySQL, gQuery, "Safe_IsBankHolder", "");
}
function Safe_IsBankHolder()
{
new rows, fields;
cache_get_data(rows, fields);
return rows;
}
pawn Код:
if(!IsBankHolder(username))
{
SendClientMessage(playerid, -1, ""RED"ERROR: "GREY"The specified USERNAME doesn't own a bank account!");
return 1;
}