10.01.2014, 15:14
Hello, how to make an anticaps (playerid) command for example i type the command and the playerid, and the player cant type big letters just small letters.
public OnPlayerText(playerid, text[])
{
new
i;
while (text[++i])
{
if ('A' <= text[i] <= 'Z') text[i] |= 0x20;
}
return 1;
}