/anticaps (playerid) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /anticaps (playerid) (
/showthread.php?tid=486788)
/anticaps (playerid) -
Blackazur - 10.01.2014
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.
Re: /anticaps (playerid) -
amirab - 10.01.2014
You can use this one
PHP код:
public OnPlayerText(playerid, text[])
{
new
i;
while (text[++i])
{
if ('A' <= text[i] <= 'Z') text[i] |= 0x20;
}
return 1;
}