14.04.2016, 14:25
The code is correct. About the suggestion I told you about, replace with:
and in Safe_IsBankHolder:
pawn Код:
"SELECT COUNT(*) FROM `"Banks_Table"` WHERE `Holder` = '%e'"
pawn Код:
if (cache_get_row_int(0, 0, MySQL)) // if retrieved rows is not 0
{
// format and ShowPlayerDialog
}
else SendClientMessage(playerid, -1, ""RED"ERROR: "GREY"The specified USERNAME doesn't own a bank account!");