How to create command clan?
#2

pawn Код:
dcmd_kickclan(playerid,params[])
{
    new name[24];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        GetPlayerName(i,name,24);
        if(strfind(name,params,true) != -1)
        {
            kick(i);
        }
    }
    return 1;
}
That's the basic, modify it however you want.
Reply


Messages In This Thread
How to create command clan? - by NaTkAkN - 21.01.2012, 15:05
Re: How to create command clan? - by [XST]O_x - 21.01.2012, 15:09
Re: How to create command clan? - by NaTkAkN - 21.01.2012, 15:13
Re: How to create command clan? - by NaTkAkN - 21.01.2012, 17:24
Re: How to create command clan? - by HuSs3n - 21.01.2012, 17:28
Re: How to create command clan? - by [XST]O_x - 21.01.2012, 17:29
Re: How to create command clan? - by NaTkAkN - 21.01.2012, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)