[FilterScript] [FS]Player On Hospital(POH) By: Splitx
#9

Quote:
Originally Posted by Splitx
It is possible but i dont know how....
It's quite easy:

//On top of your script:
Код:
new Count[MAX_PLAYERS];
new CountdownTimer[MAX_PLAYERS];
//OnPlayerDeath
Код:
CountdownTimer[playerid] = SetTimerEx("HospitalCountdown", 1000, 1, "i", playerid);
Count[playerid] = 60;
Код:
forward HospitalCountdown(playerid);
public HospitalCountdown(playerid)
{
  new string[64];
  format(string, sizeof(string), "You will respawn in %d seconds", Count[playerid]);
  GameTextForPlayer(playerid, string, 1500, 3);
  if(Count[playerid] == 0)
  {
    KillTimer(CountdownTimer[playerid]);
    // Player is healed, and ready to spawn
  }
  Count[playerid]--;
}
Reply


Messages In This Thread
[FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 10:46
Re: [FS]Player On Hospital(POH) By: Splitx - by Freestyler - 24.02.2008, 10:49
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 10:51
Re: [FS]Player On Hospital(POH) By: Splitx - by snipe69 - 24.02.2008, 10:51
Re: [FS]Player On Hospital(POH) By: Splitx - by Rks25 - 24.02.2008, 10:52
Re: [FS]Player On Hospital(POH) By: Splitx - by Sandra18[NL] - 24.02.2008, 11:01
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 11:02
Re: [FS]Player On Hospital(POH) By: Splitx - by Rks25 - 24.02.2008, 11:05
Re: [FS]Player On Hospital(POH) By: Splitx - by Sandra18[NL] - 24.02.2008, 11:15
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 11:31
Re: [FS]Player On Hospital(POH) By: Splitx - by snipe69 - 24.02.2008, 11:34
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 11:38
Re: [FS]Player On Hospital(POH) By: Splitx - by Sandra18[NL] - 24.02.2008, 11:39
Re: [FS]Player On Hospital(POH) By: Splitx - by Freestyler - 24.02.2008, 11:40
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 11:43
Re: [FS]Player On Hospital(POH) By: Splitx - by Maniek - 24.02.2008, 13:53
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 14:14
Re: [FS]Player On Hospital(POH) By: Splitx - by Numhaken - 24.02.2008, 15:11
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 15:14
Re: [FS]Player On Hospital(POH) By: Splitx - by P1nd3r - 24.02.2008, 15:37
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 15:55
Re: [FS]Player On Hospital(POH) By: Splitx - by dacads - 24.02.2008, 15:59
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 24.02.2008, 16:01
Re: [FS]Player On Hospital(POH) By: Splitx - by GaMeouT - 28.02.2008, 22:44
Re: [FS]Player On Hospital(POH) By: Splitx - by oOPacsterOo - 28.02.2008, 23:50
Re: [FS]Player On Hospital(POH) By: Splitx - by Numhaken - 29.02.2008, 00:23
Re: [FS]Player On Hospital(POH) By: Splitx - by GaMeouT - 29.02.2008, 09:52
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 29.02.2008, 12:58
Re: [FS]Player On Hospital(POH) By: Splitx - by diamondo25 - 29.02.2008, 13:29
Re: [FS]Player On Hospital(POH) By: Splitx - by splitx - 29.02.2008, 14:58
Re: [FS]Player On Hospital(POH) By: Splitx - by Puffmac - 29.02.2008, 15:15
Re: [FS]Player On Hospital(POH) By: Splitx - by Zh3r0 - 14.03.2008, 18:42
Re: [FS]Player On Hospital(POH) By: Splitx - by [IB]Scorcher - 15.03.2008, 14:27
Re: [FS]Player On Hospital(POH) By: Splitx - by negima - 15.03.2008, 14:34
Re: [FS]Player On Hospital(POH) By: Splitx - by GaMeouT - 15.03.2008, 19:31
Re: [FS]Player On Hospital(POH) By: Splitx - by Rks25 - 15.03.2008, 21:14
Re: [FS]Player On Hospital(POH) By: Splitx - by Jaztek_Hodzic - 07.04.2009, 07:58
Re: [FS]Player On Hospital(POH) By: Splitx - by Oxside - 07.04.2009, 08:58
Re: [FS]Player On Hospital(POH) By: Splitx - by DMSOrg - 10.04.2009, 16:25
Re: [FS]Player On Hospital(POH) By: Splitx - by kukars22 - 12.04.2009, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)