toupper
#8

Quote:
Originally Posted by HazardouS
Посмотреть сообщение
pawn Код:
new targetid, license[6], str[128];
if(sscanf(params, "us[6]", targetid, license)) return SendClientMessage(playerid, COLOR_SACBLUE, "Usage: /issuelic [playerid] [license type]");
if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_RED, "(ERROR) Invalid playerid.");
license[0] = toupper(license[0]);
format(str, sizeof(str), "(DMV) You have issued %s Driver's License Class %s.", GetPName(targetid), license);
Try this one, i think it works fine.
Ah thank you. That makes a lot more sense.
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)