Why this won't work?
#4

Fixed some errors.
PHP код:
CMD:factions(playerid)
{
    new 
DBResult:Result;
    
Result db_query(Database"SELECT 'Name' FROM `Faction`");
    if(
db_num_rows(Result))
    {
        new 
Field[30], string[100];
        
db_get_field_assoc(Result'Name'Field30);
        
format(string,sizeof(string),"%s",Field);
        
SCM(playerid,COLOR_YELLOW,string);
        while(
db_next_row(db_result));
    }
    
db_free_result(Result);
    return 
1;

Reply


Messages In This Thread
Why this won't work? - by StrikerZ - 31.10.2016, 11:11
Re: Why this won't work? - by Konstantinos - 31.10.2016, 12:27
Re: Why this won't work? - by StrikerZ - 31.10.2016, 12:35
Re: Why this won't work? - by Logic_ - 31.10.2016, 12:36
Re: Why this won't work? - by StrikerZ - 31.10.2016, 12:39
Re: Why this won't work? - by Logic_ - 31.10.2016, 12:43
Re: Why this won't work? - by Konstantinos - 31.10.2016, 12:44
Re: Why this won't work? - by StrikerZ - 31.10.2016, 12:45
Re: Why this won't work? - by SyS - 31.10.2016, 12:48
Re: Why this won't work? - by StrikerZ - 31.10.2016, 12:50

Forum Jump:


Users browsing this thread: 1 Guest(s)