Create3dtext error
#1

Hi. I have this stock.. The read is ok, i create a debug printf and its workint. but i am join the server and dont found any 3dtext.. why?
PHP код:
stock Load3DTextLabels()
{
    new 
total;
    for (new 
1MAX_3DTEXTLABELSi++)
    {
        
format(querysizeof(query), "SELECT * FROM `3dtextlabel` WHERE `id` = '%d'"i);
        
mysql_query(sqldbquery);
        
mysql_store_result();
        if (
mysql_num_rows())
        {
            while (
mysql_retrieve_row())
            {
                   new
                    
data[128],
                    
text[128],
                    
id,
                    
Float:x,
                    
Float:y,
                    
Float:z,
                    
Float:tavolsag,
                    
wv;
                    
                  
mysql_fetch_field_row(data"id"); id strval(data);
                
mysql_fetch_field_row(data"text"); text data;
                
mysql_fetch_field_row(data"x"); floatstr(data);
                
mysql_fetch_field_row(data"y"); floatstr(data);
                
mysql_fetch_field_row(data"z"); floatstr(data);
                
mysql_fetch_field_row(data"tavolsag"); tavolsag floatstr(data);
                
mysql_fetch_field_row(data"wv"); wv strval(data);
                
Create3DTextLabel(text, -1xyztavolsagwv1);
                   
total++;
            }
        }
        
mysql_free_result();
    }
    
printf("%i textlabel betцltve!"total);
    return 
1;

Reply


Messages In This Thread
Create3dtext error - by n00el - 17.05.2014, 06:37
Re: Create3dtext error - by Ciandlah - 17.05.2014, 07:57
Re: Create3dtext error - by n00el - 17.05.2014, 08:20
Re: Create3dtext error - by n00el - 17.05.2014, 08:22
Re: Create3dtext error - by n00el - 17.05.2014, 11:05
Re: Create3dtext error - by n00el - 17.05.2014, 18:43

Forum Jump:


Users browsing this thread: 2 Guest(s)