Stupid "error"/warning problem ... >_<
#5

Quote:
Originally Posted by tour15
Посмотреть сообщение
You can also add
pawn Код:
#pragma tabsize 0
at the top of your script but its no recomended
Quote:
Originally Posted by Alby Fire
Посмотреть сообщение
pawn Код:
new cmd[128],idx,tmp[256];
    cmd = strtok(cmdtext, idx);
    if(!strcmp(cmd, "/akill", true, 6))
    {
      if(IsPlayerAdmin(playerid))
      {
         new id;
         tmp = strtok(cmdtext, idx);
         id = strval(tmp);
         if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_RED,"Use: /akill ID");
         SetPlayerHealth(id, 0);
         SendClientMessageToAll(COLOR_RED, "Someone is been killed by the admin !");
      }
      return 1;
    }
    if(!strcmp(cmd, "/money", true, 6))
    {
      if(IsPlayerAdmin(playerid))
      {
         GivePlayerMoney(playerid, 10000);
      }
      return 1;
    }
Thanks guys ! It's solved ! (a) ^^
Reply


Messages In This Thread
Stupid "error"/warning problem ... >_< - by Michael@Belgium - 19.01.2011, 15:16
Re: Stupid "error"/warning problem ... >_< - by Alby Fire - 19.01.2011, 15:45
Re: Stupid "error"/warning problem ... >_< - by TouR - 19.01.2011, 15:48
Re: Stupid "error"/warning problem ... >_< - by Alby Fire - 19.01.2011, 15:50
Re: Stupid "error"/warning problem ... >_< - by Michael@Belgium - 19.01.2011, 15:51
Re: Stupid "error"/warning problem ... >_< - by TouR - 20.01.2011, 09:54

Forum Jump:


Users browsing this thread: 2 Guest(s)