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.