CK script ( Character Kill )
#2

pawn Code:
if(strcmp(cmd, "/ack", true) == 0)
    {
      if(IsPlayerConnected(playerid))
      {
        tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GREY, "USAGE: /ack [playerid]");
                return 1;
            }
            giveplayerid = ReturnUser(tmp);
           
          if(IsPlayerConnected(playerid))
           {
             if(PlayerInfo[playerid][pAdmin] < 3)
            {
                     PlayerInfo[playerid][pCK] = 1;
                 }
                else
                {
                  SendClientMessage(playerid,COLOR_GREY,"You'r not admin level 3 or higher! ");
               }
            }
           }
         
           return 1;

        }
Reply


Messages In This Thread
CK script ( Character Kill ) - by Rickyboy30 - 12.11.2009, 19:26
Re: CK script ( Character Kill ) - by Peter_Corneile - 12.11.2009, 19:39
Re: CK script ( Character Kill ) - by Rickyboy30 - 14.11.2009, 19:25
Re: CK script ( Character Kill ) - by Rickyboy30 - 15.11.2009, 00:18
Re: CK script ( Character Kill ) - by DMSOrg - 15.11.2009, 00:35
Re: CK script ( Character Kill ) - by Rickyboy30 - 15.11.2009, 08:28
Re: CK script ( Character Kill ) - by Mike Garber - 15.11.2009, 10:07

Forum Jump:


Users browsing this thread: 1 Guest(s)