/Command *HELP*
#6

Quote:
Originally Posted by Abagail
Посмотреть сообщение
Using ZCMD:
pawn Код:
CMD:command(playerid, params[])
{
      new integer = strval(params);
      if(integer >= 1 && integer < 1001) {
            SendClientMessage(playerid, 0xFF0000FF, "Kicked");
            SetTimerEx("DelayedKick", 1000, false, "i", playerid);
      }

      return 1;
}
Hey, that didn't work. Not sure what I did wrong:

if(strcmp(cmdtext, "/command", true) == 0)
{
CMD:command(playerid, params[])
{
new integer = strval(params);
if(integer >= 1 && integer < 1001) {
SendClientMessage(playerid, 0xFF0000FF, "Kicked");
SetTimerEx("DelayedKick", 1000, false, "i", playerid);
}
Reply


Messages In This Thread
/Command *HELP* - by TheSkyBlueTeam - 23.07.2015, 18:24
Re: /Command *HELP* - by TheSkyBlueTeam - 23.07.2015, 19:36
Re: /Command *HELP* - by Abagail - 23.07.2015, 19:39
AW: /Command *HELP* - by Mencent - 23.07.2015, 19:44
Re: AW: /Command *HELP* - by Abagail - 23.07.2015, 19:50
Re: /Command *HELP* - by TheSkyBlueTeam - 23.07.2015, 19:52
AW: Re: AW: /Command *HELP* - by Mencent - 23.07.2015, 19:58
Re: AW: /Command *HELP* - by TheSkyBlueTeam - 23.07.2015, 20:20
AW: /Command *HELP* - by Mencent - 23.07.2015, 20:23
Re: AW: /Command *HELP* - by TheSkyBlueTeam - 23.07.2015, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)