warning Not Translated
This page has not been translated into the language that your browser requested. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
toupper
warning
This $function starts with a lowercase letter.
Description
This function changes a single character to uppercase.
| Name | Description |
|---|---|
| c | The character to change to uppercase. |
Returns
The ASCII value of the character provided, but in uppercase.
Examples
public OnPlayerText(playerid, text[])
{
text[0] = toupper(text[0]);
//This sets the first character to upper case.
return 1;
}