Taze problem timer
#2

add this on top of your script
Код:
forward t_unTaze(playerid); // timer for untaze
add this with your other timers...
Код:
public t_unTaze(playerid)
{
   if(Tazed[playerid] == 1)
  {
      ClearAnimations(playerid);

      TogglePlayerControllable(playerid, 1);
      Tazed[playerid] = 0;
      SendClinetMessage(playerid ,COLOR ,"You regain muscle control!");
   }
   return 1;
}
Change this
Код:
Tazed[targetid] =1;
TogglePlayerControllable(targetid, 0);
ApplyAnimation(targetid,"CRACK","crckdeth2",4.1,1,1,1,1,1); // this is added
SetTimerEx("t_unTaze" ,5000 ,false ,"i" ,targetid);
return 1;
Reply


Messages In This Thread
Taze problem timer - by kbalor - 13.09.2012, 17:06
Re: Taze problem timer - by detter - 13.09.2012, 17:27
Re: Taze problem timer - by kbalor - 13.09.2012, 17:39
Re: Taze problem timer - by detter - 13.09.2012, 17:42
Re: Taze problem timer - by kbalor - 13.09.2012, 17:48
Re: Taze problem timer - by detter - 13.09.2012, 17:51
Re: Taze problem timer - by kbalor - 13.09.2012, 17:57
Re: Taze problem timer - by detter - 13.09.2012, 17:59
Re: Taze problem timer - by kbalor - 13.09.2012, 18:12

Forum Jump:


Users browsing this thread: 2 Guest(s)