toupper
#3

Quote:
Originally Posted by [XST]O_x
Посмотреть сообщение
Try this:
pawn Код:
format(str, sizeof(str), "(DMV) You have issued %s Driver's License Class %s.", GetPName(targetid), license[0] - 32);
pawn Код:
new capital = license[0]-32;

        format(str, sizeof(str), "(DMV) You have issued %s Driver's License Class %s.", GetPName(targetid), capital);
        SendClientMessage(playerid, COLOR_PURPLE, str);
        format(str, sizeof(str), "(DMV) You have been issued Driver's License Class %s.", capital);
        SendClientMessage(targetid, COLOR_PURPLE, str);
This makes it call the second string twice in the same line (as does new capital = toupper(license[0]).
Reply


Messages In This Thread
toupper - by austin070 - 09.09.2014, 19:13
Re: toupper - by [XST]O_x - 09.09.2014, 19:17
Re: toupper - by austin070 - 09.09.2014, 19:27
Re: toupper - by Sledgehammer - 09.09.2014, 19:30
Re: toupper - by austin070 - 09.09.2014, 19:31
Re: toupper - by HazardouS - 09.09.2014, 19:32
Re: toupper - by Sledgehammer - 09.09.2014, 19:33
Re: toupper - by austin070 - 09.09.2014, 19:36

Forum Jump:


Users browsing this thread: 1 Guest(s)