19.01.2015, 19:59
Hi can anyone help? I put couple object in house, furniture. in mySQL it shows okay without any symbols but look how it shows in dialog also I make /n to put into next line but it's not working.
\n
if(IsPlayerInHouse( playerid )) { for( new fid; fid < MAX_FURNITURES; fid++ ) { if( HouseFurniture[ fid ][ fHouseId ] == hInfo[ GetPlayerHouse( playerid ) ][ hID ] ) { format( string, sizeof( string ), "%sObject %d: %s\n", string, slot, HouseFurniture[ fid ][ fName ] ); PlayerSlots[ playerid ][ slot ] = fid; slot++; rado = 1; } } } else if(IsPlayerInBusiness( playerid )) { for( new fid; fid < MAX_FURNITURES; fid++ ) { if( BizzFurniture[ fid ][ fHouseId ] == bInfo[ GetPlayerBusiness( playerid ) ][ bID ] ) { format( string, sizeof( string ), "%sObject %d: %s\n", string, slot, BizzFurniture[ fid ][ fName ] ); PlayerSlots[ playerid ][ slot ] = fid; slot++; rado = 1; } } } |
new string2[128] = " ";
format( string2, sizeof( string2 ), "%sObject %d: %s\n", string2, slot, HouseFurniture[ fid ][ fName ] );