16.08.2018, 11:35
Tried this way:
But showing just "Total Earned From Selling Heroin" line.
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);