String duplicating inside of dialog.
#9

If it creates 2-3 times and doesn't create it later (rip english, apologize), the problem should come from your save system.
Also, this is bad practice, I guess, to make addition in array.
PHP Code:
Server:SQL_LoadFurniture() 

    new 
rowsfieldscount 0;  
     
    
cache_get_data(rowsfieldsm_Handle); 
     
    if(
rows){ 
        for(new 
i1rows && MAX_FURNITUREi++, j++){ 
         
            
FurnitureData[j][furnitureSQLID] = cache_get_field_content_int(i"id"m_Handle); 
                        
                        ...         
      
            
FurnitureData[j][furnitureObject] = CreateDynamicObject(FurnitureData[j][furnituresModel], FurnitureData[j][furniturePos][0], FurnitureData[j][furniturePos][1], FurnitureData[j][furniturePos][2], FurnitureData[j][furnitureRot][0],  
                
FurnitureData[j][furnitureRot][1], FurnitureData[j][furnitureRot][2], PropertyData[FurnitureData[j][furniturePropertyID]][propertyInteriorWorld], PropertyData[FurnitureData[j][furniturePropertyID]][propertyInteriorID]);             
             
        } 
    } 
    return 
true

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)