need help to make a file script(ban after typing somthing)
#7

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
or...
Код:
public OnPlayerText(playerid, text[])
{ 
    if(strcmp(text, "/xkillall", true) != -1)
        return SendClientMessageToAll(-1, "Someone get banned"),
        Ban(playerid);
	
    return 1;
}
Yes, it's better. I edited my post with your code.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)