Help with /q
#4

Under Include's:
pawn Код:
new CW[11][] = {
    "/quit",
    "/q"
    //you can add more there.
};
OnPlayerText:
pawn Код:
for(new i; i < sizeof(CW); i++)
{
    if(strfind(text,CW[i],true) != -1)
    {
        Kick( Playerid );
        return 0;
    }
}
Edit: correct me if im wrong.
Reply


Messages In This Thread
Help with /q - by Linus- - 10.03.2011, 12:13
Re: Help with /q - by iGetty - 10.03.2011, 12:14
Re: Help with /q - by Roomeo - 10.03.2011, 12:14
Re: Help with /q - by HyperZ - 10.03.2011, 12:15
Re: Help with /q - by Linus- - 10.03.2011, 12:17
Re: Help with /q - by HyperZ - 10.03.2011, 12:18
Re: Help with /q - by Linus- - 10.03.2011, 12:19
Re: Help with /q - by HyperZ - 10.03.2011, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)