Guest User

Untitled

a guest
Aug 12th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.17 KB | None | 0 0
  1. if( !bInfo[maxbusiness][selling] )
  2.         {
  3.             format( msg, 186, "{FF8F0F}Verslas {FF0000}„%s“{FF8F0F} parduodamas!\nKaina: {FF0000}%i{FF8F0F} Lt\n/vr pirkti", bInfo[ maxbusiness ][ Pavadinimas ], bInfo[maxbusiness][cost] );
  4.             tempCol = HOUSE_SELLING;
  5.         }
  6.        
  7.         if( bInfo[ id ][ Idas ] == 5 || bInfo[ id ][ Idas ] == 18 )
  8.         {
  9.             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 ] );
  10.             UpdateDynamic3DTextLabelText( bInfo[ id ][ businesstext ], HOUSE_BOUGHT, msg );
  11.         }
  12.         else
  13.         {
  14.             format( msg, 186, "{FF8F0F}Verslas {FF0000}„%s“{FF8F0F}\nSàvininkas: {FF8F0F}%s", bInfo[ id ][ Pavadinimas ], Owner );
  15.             UpdateDynamic3DTextLabelText( bInfo[ id ][ businesstext ], HOUSE_BOUGHT, msg );
  16.         }
  17.  
  18.         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 );
  19.         printf( "Business id: %i, selling: %i, owner: %s.", maxbusiness, bInfo[maxbusiness][selling], Owner );
  20.     }
  21.     else
  22.         mysql_free_result();
  23. }
Add Comment
Please, Sign In to add comment