17.02.2013, 21:38
Very good morning, this day I am having a problem and is as follows:
Someone turned off my server by typing a word in this case "RESTART SERVER". The type and the server writes it off.
I create code for avoid write: "RESTART SERVER".
Review the log of bans and two people appeared banned.
The problem is that the problem continued! I think because they change their "magic word" and i'm not understand what is new "magic word"
How I can avoid this? Is there any way to prevent a server is restarted with a message on the chat?
If anyone knows please help me.
Sorry for my english.
Someone turned off my server by typing a word in this case "RESTART SERVER". The type and the server writes it off.
I create code for avoid write: "RESTART SERVER".
pawn Код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "RESTART SERVER") != -1)
{
BanEx( playerid, "Hack of Restart server" );
}
return 1;
}
The problem is that the problem continued! I think because they change their "magic word" and i'm not understand what is new "magic word"
How I can avoid this? Is there any way to prevent a server is restarted with a message on the chat?
If anyone knows please help me.
Sorry for my english.