Problem with Show String in /stats command
#8

Try it
PHP код:
stock LoadDataString(playerid)
{
    new 
query[300], pName[24], savingstr1[10], savingstr2[10];
    
GetPlayerName(playeridpName24);
    
format(querysizeof(query), "SELECT * FROM `playerchar` WHERE `charname` = '%s'"pName);
    
mysql_query(query);
    
mysql_store_result();
    while(
mysql_fetch_row_format(query,"|"))
    {
         
mysql_fetch_field_row(savingstr1"username");
             
strmid(PlayerInfo[playerid][uName], savingstr10strlen(savingstr1));
         
mysql_fetch_field_row(savingstr2"origin");
             
strmid(PlayerInfo[playerid][pOrigin], savingstr20strlen(savingstr2));
    }
    
mysql_free_result();

Reply


Messages In This Thread
Problem with Show String in /stats command - by Opeal - 18.11.2015, 12:40
Re: Problem with Show String in /stats command - by Opeal - 18.11.2015, 16:15
Re: Problem with Show String in /stats command - by Opeal - 18.11.2015, 18:39
Re: Problem with Show String in /stats command - by Mencent - 18.11.2015, 18:44
Re: Problem with Show String in /stats command - by gurmani11 - 18.11.2015, 18:45
Re: Problem with Show String in /stats command - by Opeal - 18.11.2015, 19:05
Re: Problem with Show String in /stats command - by Opeal - 18.11.2015, 19:07
Re: Problem with Show String in /stats command - by gurmani11 - 18.11.2015, 20:04
Re: Problem with Show String in /stats command - by Opeal - 18.11.2015, 20:26
Re: Problem with Show String in /stats command - by Opeal - 18.11.2015, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)