19.08.2009, 20:53
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); } |
I want the Price value to be green if sale = 1 and red if sale = 0...
Thanks anyway =)