/kick in STRCMP [+REP]
#6

the callback:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{


and the code:

Код:
if(strcmp(cmdtext, "/kickme", true) == 0)
    {
        // Kicks the player who executed this command
        Kick(playerid);
        return 1;
    }
    return 0;
}


Hope i helped, Pm me if you'd like to know anything or any help.
Reply


Messages In This Thread
/kick in STRCMP [+REP] - by [SU]Spartan - 17.12.2015, 18:05
Re: /kick in STRCMP [+REP] - by Vince - 17.12.2015, 18:28
Re: /kick in STRCMP [+REP] - by [SU]Spartan - 17.12.2015, 18:34
Re: /kick in STRCMP [+REP] - by SickAttack - 17.12.2015, 18:42
Re: /kick in STRCMP [+REP] - by PrO.GameR - 17.12.2015, 18:42
Re: /kick in STRCMP [+REP] - by xXRevolverXx - 18.12.2015, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)