21.08.2014, 18:21
Here is the deal I want people in my server to be kicked each time they say "rcon" I have something for that but it doesnt kick people for usuing the /rcon command
Here is my code:
Thanks to those who will help in advance.
Here is my code:
Quote:
public OnPlayerText(playerid, text[]) { new pText[144]; format(pText, sizeof (pText), "(%d) %s", playerid, text); SendPlayerMessageToAll(playerid, pText); if(strfind(text,"rcon", true) != -1) { Kick(playerid); } return 0; // ignore the default text and send the custom one } |