strcat +rep, it's really shirt please help quick
#9

%s wont work in strcat as it's for format() function. You want to do this instead:
Код:
DoubleString = "Skill Name\tDamage Precent\tCurrent Level\tNext Level"; // I think this is must be first, as it's header
format(DoubleString,sizeof(DoubleString),"%s\n%s\ttest\ttest2\ttest3",DoubleString,GetName(playerid));
the first %s is for DoubleString (the header string), and \n for new line, then %s is the player name. Repeat the 2nd line for the dialog content for the list (not header).
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)