Dialog
#7

Tried this way:

pawn Code:
format(temp, sizeof(temp), ""SAMP_BLUE"Drug Dealer Job Stats\n\n");
            strcat(info, temp);
            format(temp, sizeof(temp), "Marijuana Seeds: "ORANGE_RED"%d\n\n",Player[playerid][MarijuanaSeeds]);
            strcat(info, temp);
            format(temp, sizeof(temp), ""WHITE"Cocaine Seeds: "ORANGE_RED"%d\n\n",Player[playerid][CocaineSeeds]);
            strcat(info, temp);
            format(temp, sizeof(temp), ""WHITE"Heroin Seeds: "ORANGE_RED"%d\n\n",Player[playerid][HeroinSeeds]);
            strcat(info, temp);
            format(temp, sizeof(temp), ""WHITE"Marijuana Grams: "ORANGE_RED"%d\n\n",Player[playerid][MarijuanaGrams]);
            strcat(info, temp);
            format(temp, sizeof(temp), ""WHITE"Cocaine Grams: "ORANGE_RED"%d\n\n",Player[playerid][CocaineGrams]);
            strcat(info, temp);
            format(temp, sizeof(temp), ""WHITE"Heroin Grams: "ORANGE_RED"%d\n\n",Player[playerid][HeroinGrams]);
            strcat(info, temp);
            format(temp, sizeof(temp), ""WHITE"Total Earned From Selling Marijuana: "ORANGE_RED"%d\n\n",Player[playerid][MarijuanaEarnings]);
            strcat(info, temp);
            format(temp, sizeof(temp), ""WHITE"Total Earned From Selling Cocaine: "ORANGE_RED"%d\n\n",Player[playerid][CocaineEarnings]);
            strcat(info, temp);
            format(temp, sizeof(temp), ""WHITE"Total Earned From Selling Heroin: "ORANGE_RED"%d\n\n",Player[playerid][HeroinEarnings]);
            strcat(info, temp);
But showing just "Total Earned From Selling Heroin" line.
Reply


Messages In This Thread
Dialog - by KinderClans - 15.08.2018, 22:20
Re: Dialog - by ToiletDuck - 16.08.2018, 01:55
Re: Dialog - by Akeem - 16.08.2018, 02:25
Re: Dialog - by KinderClans - 16.08.2018, 10:24
Re: Dialog - by KinderClans - 16.08.2018, 11:00
Re: Dialog - by CodeStyle175 - 16.08.2018, 11:20
Re: Dialog - by KinderClans - 16.08.2018, 11:35
Re: Dialog - by KinderClans - 17.08.2018, 09:35
Re: Dialog - by KinderClans - 18.08.2018, 10:25
Re: Dialog - by Exhibit - 18.08.2018, 12:35

Forum Jump:


Users browsing this thread: 3 Guest(s)