Help with /q
#5

Quote:
Originally Posted by getty154
Посмотреть сообщение
It is a default SA-MP server thing, go in your server, and type /q the game will close.
oh sorry my english is too bad, i was meaning if anyone say for example: /q all or /q he will get kicked.
Quote:
Originally Posted by Clive
Посмотреть сообщение
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.
Oh yes i want this, thank you very much.
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)