warning 209: returning values
#3

Thanks for the easy step, and I also have the same warning at a different place.

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;
}
This is being used at:
pawn Код:
if(!IsBankHolder(username))
{
        SendClientMessage(playerid, -1, ""RED"ERROR: "GREY"The specified USERNAME doesn't own a bank account!");
    return 1;
}
Reply


Messages In This Thread
warning 209: returning values - by biker122 - 14.04.2016, 13:37
Re: warning 209: returning values - by Konstantinos - 14.04.2016, 13:48
Re: warning 209: returning values - by biker122 - 14.04.2016, 13:53
Re: warning 209: returning values - by Konstantinos - 14.04.2016, 14:00
Re: warning 209: returning values - by biker122 - 14.04.2016, 14:18
Re: warning 209: returning values - by Konstantinos - 14.04.2016, 14:25
Re: warning 209: returning values - by biker122 - 14.04.2016, 14:33
Re: warning 209: returning values - by Konstantinos - 14.04.2016, 14:40
Re: warning 209: returning values - by biker122 - 14.04.2016, 15:35

Forum Jump:


Users browsing this thread: 2 Guest(s)