Posts: 46
Threads: 0
Joined: Jul 2008
Reputation:
0
It is. But do you want to have it after a command was entered or just when you type it in the normal chat ?
Posts: 702
Threads: 6
Joined: May 2007
Reputation:
0
if(!strcmp(text, "hello", 5, true))
{
SendClientMessage(playerid, color, "hello");
}
Posts: 702
Threads: 6
Joined: May 2007
Reputation:
0
if(!strcmp(text, "HELLO", 5, true))
{
SendClientMessage(playerid, color, strtolower(text));
return 1;
}
Or capalize something in strtolower, I don't it exactly
Posts: 167
Threads: 6
Joined: Dec 2008
Reputation:
0
PS: i mean all text if i type CAPS LOCK text then it will be small
Posts: 702
Threads: 6
Joined: May 2007
Reputation:
0
OnPlayerCommandText(..)
{
SendClientMessageToAll(color, strtolower(text);
return 0;
}
Posts: 167
Threads: 6
Joined: Dec 2008
Reputation:
0
If i add this in OnPlayerText SendPlayerMessageToAll(playerid,tolower(text));
then it say:
error 035: argument type mismatch (argument 1)
Posts: 2,593
Threads: 34
Joined: Dec 2007