When i type "LOL" "WTF" "LMAO" in IC chat...
#8

Quote:
Originally Posted by [vTc]Patroool
Посмотреть сообщение
Put this under:-
Код:
public OnPlayerText(playerid, Text [])
Код:
	if(strfind(text, "hacker", true) != -1 || strfind(text, "cheat", true) != -1) {
 		SendClientMessage(playerid,red, "SERVER: Please use /ask to contact admin or use /report [ID] [REASON] to report!");
 	    return 0;
	}
Change "Hacker" to "lol"
&
"SERVER: Please use /ask to contact admin or use /report [ID] [REASON] to report!" ---> To your Message.
thanks for this but..

I mean if you type "LOL" "LMAO" etc on IC chat (In Character Chat) most used on roleplay

it will automatically /me Laughs out Loud

for example: i type LOL and i hit enter. then this message will be shown
** PLAYERNAME laughs out loud **

Here is my /me script
Код:
* ChristianIvann09 script
CMD:me(playerid, params[])
{
	if(CheckGMX(playerid)) return 1;
	if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [action]");
	new string[128];
	format(string, sizeof(string), "* %s %s", GetPlayerNameEx(playerid), params);
	ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: