GivePlayerID
#8

pawn Код:
CMD:taze(playerid,params[])
   {
      new tazed;
      if(HandCuffs[playerid] == 1)
      {
         if(HandCuffsTazed[playerid] == 1)
         {
           if(sscanf(params,"u",tazed))
           {
           new Float:Health;
           GetPlayerHealth(playerid,Health);
           SetPlayerHealth(playerid,Health-5);
           SetTimerEx("TazedTimer",12000,false,"d",playerid);
           SetTimerEx("TazedStop",19700,false,"d",playerid);
           }
         }
      }
      return 1;
   }
And are you sure you have zcmd include defined? what command processor you use?
Reply


Messages In This Thread
GivePlayerID - by Dixon_Smith - 16.09.2012, 13:40
Re: GivePlayerID - by C00K13M0N$73R - 16.09.2012, 13:41
Re: GivePlayerID - by AtItsMax - 16.09.2012, 13:45
Re: GivePlayerID - by Dixon_Smith - 16.09.2012, 13:45
Re: GivePlayerID - by AtItsMax - 16.09.2012, 13:48
Re: GivePlayerID - by Dixon_Smith - 16.09.2012, 13:48
Re: GivePlayerID - by Dixon_Smith - 16.09.2012, 13:54
Re: GivePlayerID - by AtItsMax - 16.09.2012, 13:55
Re: GivePlayerID - by Lordzy - 16.09.2012, 13:57
Re: GivePlayerID - by Dixon_Smith - 16.09.2012, 13:58

Forum Jump:


Users browsing this thread: 2 Guest(s)