Caps Lock
#6

Something like this:

Код:
public OnPlayerText(playerid, text[])
{
  for(new i=1; i<strlen(text); i++)
  {
    if(text[i] > 64 && text[i]< 91) text[i] += 32;
  }
  return 1;
}
This one let only the first letter to be caps, and the other it change it.

How we can change it to let only one, and return a message?
Reply


Messages In This Thread
Caps Lock - by ]Rafaellos[ - 27.02.2012, 18:06
Re: Caps Lock - by ProdrifterX - 27.02.2012, 19:23
Re: Caps Lock - by ]Rafaellos[ - 28.02.2012, 11:25
Re: Caps Lock - by Vince - 28.02.2012, 12:12
Re: Caps Lock - by ]Rafaellos[ - 28.02.2012, 12:20
Re: Caps Lock - by ]Rafaellos[ - 28.02.2012, 12:36
Re: Caps Lock - by Konstantinos - 28.02.2012, 12:40
Re: Caps Lock - by ]Rafaellos[ - 28.02.2012, 12:43
Re: Caps Lock - by Konstantinos - 28.02.2012, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)