16.08.2018, 10:24
Ok thanks. I also fixed another dialog which had this problem too.
Howerver after using strcat i have a problem:
Seems doesn't pass %d values, because in game i see "Marijuana Seeds: %d" and same for other stats.
Howerver after using strcat i have a problem:
pawn Code:
strcat(temp, ""SAMP_BLUE"Drug Dealer Job Stats\n\n");
strcat(temp, "Marijuana Seeds: "ORANGE_RED"%d\n\n",Player[playerid][MarijuanaSeeds]);
strcat(temp, ""WHITE"Cocaine Seeds: "ORANGE_RED"%d\n\n",Player[playerid][CocaineSeeds]);
strcat(temp, ""WHITE"Heroin Seeds: "ORANGE_RED"%d\n\n",Player[playerid][HeroinSeeds]);
strcat(temp, ""WHITE"Marijuana Grams: "ORANGE_RED"%d\n\n",Player[playerid][MarijuanaGrams]);
strcat(temp, ""WHITE"Cocaine Grams: "ORANGE_RED"%d\n\n",Player[playerid][CocaineGrams]);
strcat(temp, ""WHITE"Heroin Grams: "ORANGE_RED"%d\n\n",Player[playerid][HeroinGrams]);
strcat(temp, ""WHITE"Total Earned From Selling Marijuana: "ORANGE_RED"%d\n\n",Player[playerid][MarijuanaEarnings]);
strcat(temp, ""WHITE"Total Earned From Selling Cocaine: "ORANGE_RED"%d\n\n",Player[playerid][CocaineEarnings]);
strcat(temp, ""WHITE"Total Earned From Selling Heroin: "ORANGE_RED"%d\n\n",Player[playerid][HeroinEarnings]);
