Help me with my /jail command
#4

Example
pawn Код:
//in command
SetTimerEx("DecreaseJailTimer", 1000, 0, "i", playa);

//after main()
forward DescreaseJailTimer(playerid);
public DecreseJailTimer(playerid)
{
  ShitPlayer[playa][pJailTime] --;
  if(ShitPlayer[playa][pJailTime] == 0)
  {
   //release thme
  }
  else { SetTimerEx("DecreaseJailTimer", 1000, 0, "i", playerid);
}
Reply


Messages In This Thread
Help me with my /jail command - by coole210 - 01.07.2009, 04:04
Re: Help me with my /jail command - by Grim_ - 01.07.2009, 04:09
Re: Help me with my /jail command - by coole210 - 01.07.2009, 04:13
Re: Help me with my /jail command - by Grim_ - 01.07.2009, 04:19

Forum Jump:


Users browsing this thread: 2 Guest(s)