MySQL | again not working.
#5

Ahh, sorry.
pawn Код:
stock GetPlayerLevel(playerid)
{
    new query[100];
    format(query,sizeof(query),"SELECT `Level` FROM `Users` WHERE `Nick`='%s' LIMIT 1",GetName(playerid));
    mysql_query(query);
    mysql_store_result();
    if(mysql_retrieve_row() == 1) mysql_fetch_field_row(query, "Level");
    mysql_free_result();
    return strval(query);
}
Try this
Reply


Messages In This Thread
MySQL | again not working. - by EviLpRo - 25.06.2011, 18:47
Re: MySQL | again not working. - by gimini - 25.06.2011, 18:58
Re: MySQL | again not working. - by EviLpRo - 25.06.2011, 19:03
Re: MySQL | again not working. - by kacper55331 - 25.06.2011, 19:06
Re: MySQL | again not working. - by gimini - 25.06.2011, 19:08
Re: MySQL | again not working. - by EviLpRo - 25.06.2011, 19:29

Forum Jump:


Users browsing this thread: 2 Guest(s)