Biggest fail to a GetPlayerName function!
#1

Ahaha, I tried, but I have no clue how to do this...

pawn Код:
stock GetPlayerNameFromSQLid(SQLid)
{
    new query[256], pname[24];
    format(query, 256, "SELECT `username` FROM `accounts` WHERE `SQLid` = '%d'", SQLid);
    mysql_query(query);
    mysql_store_result(pname);
    return pname;
}
Reply


Messages In This Thread
Biggest fail to a GetPlayerName function! - by Antonio [G-RP] - 25.06.2010, 01:56
Re: Biggest fail to a GetPlayerName function! - by Calgon - 25.06.2010, 02:29
Re: Biggest fail to a GetPlayerName function! - by Antonio [G-RP] - 25.06.2010, 02:45
Re: Biggest fail to a GetPlayerName function! - by Calgon - 25.06.2010, 03:38
Re: Biggest fail to a GetPlayerName function! - by Antonio [G-RP] - 25.06.2010, 03:56

Forum Jump:


Users browsing this thread: 1 Guest(s)