Set serveral strings into a gametext... Help please =)
#3

Quote:
Originally Posted by MatrixBoY
Код:
if(pickupid == GS-1)
{
  new string[256],owner[MAX_STRING];
  owner = dini_Get("CLRP/Businesses/GS-1","Owner");
  new price = dini_Int("CLRP/Businesses/GS-1","Sellprice");
  new sale = dini_Int("CLRP/Businesses/GS-1","Sale");
  new entrance = dini_Int("CLRP/Businesses/GS-1","Entrance");
  format(string,256,"%s\n %d\n %d",owner, entrance, price);
  GameTextForPlayer(playerid,string,6000,1);
}
there
Doesn't answer all questions... =/

I want the Price value to be green if sale = 1 and red if sale = 0...


Thanks anyway =)
Reply


Messages In This Thread
Set serveral strings into a gametext... Help please =) - by introzen - 19.08.2009, 20:47
Re: Set serveral strings into a gametext... Help please =) - by MatrixBoY - 19.08.2009, 20:49
Re: Set serveral strings into a gametext... Help please =) - by introzen - 19.08.2009, 20:53
Re: Set serveral strings into a gametext... Help please =) - by Amit_B - 19.08.2009, 21:16
Re: Set serveral strings into a gametext... Help please =) - by introzen - 19.08.2009, 21:30

Forum Jump:


Users browsing this thread: 1 Guest(s)