Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( !bInfo[maxbusiness][selling] )
- {
- format( msg, 186, "{FF8F0F}Verslas {FF0000}„%s“{FF8F0F} parduodamas!\nKaina: {FF0000}%i{FF8F0F} Lt\n/vr pirkti", bInfo[ maxbusiness ][ Pavadinimas ], bInfo[maxbusiness][cost] );
- tempCol = HOUSE_SELLING;
- }
- if( bInfo[ id ][ Idas ] == 5 || bInfo[ id ][ Idas ] == 18 )
- {
- format( msg, 186, "{FF8F0F}Verslas {FF0000}„%s“{FF8F0F}\nSàvininkas: {FF8F0F}%s\nÁëjimo mokestis: {FF0000}%i Lt", bInfo[ id ][ Pavadinimas ], Owner, bInfo[ id ][ Price ] );
- UpdateDynamic3DTextLabelText( bInfo[ id ][ businesstext ], HOUSE_BOUGHT, msg );
- }
- else
- {
- format( msg, 186, "{FF8F0F}Verslas {FF0000}„%s“{FF8F0F}\nSàvininkas: {FF8F0F}%s", bInfo[ id ][ Pavadinimas ], Owner );
- UpdateDynamic3DTextLabelText( bInfo[ id ][ businesstext ], HOUSE_BOUGHT, msg );
- }
- bInfo[maxbusiness][businesstext] = CreateDynamic3DTextLabel( msg, tempCol, bInfo[maxbusiness][pos][0], bInfo[maxbusiness][pos][1], bInfo[maxbusiness][pos][2], DRAW_DISTANCE, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1 );
- printf( "Business id: %i, selling: %i, owner: %s.", maxbusiness, bInfo[maxbusiness][selling], Owner );
- }
- else
- mysql_free_result();
- }
Add Comment
Please, Sign In to add comment