27.05.2014, 16:25
how can i get that player has typed an ip
well,not allowing more than 1 dot wont be good,it would be a failure,lets say 2 players are chatting,and one of them said a sentence and used ..... instead of completing it he would be counted as ip sharing so,when i am back home i will make the code for you
|
public OnPlayerText(playerid, text[])
{
if(ContainsIPEx(text)) SendClientMessage(playerid, -1, "Don't write ip addresses on chat.");
else SendClientMessageToAll(-1, text);
return 0;
}