SA-MP Forums Archive
[FilterScript] [FS]Player On Hospital(POH) By: Splitx - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]Player On Hospital(POH) By: Splitx (/showthread.php?tid=27470)

Pages: 1 2


Re: [FS]Player On Hospital(POH) By: Splitx - splitx - 24.02.2008

Thx Pinder xD


Re: [FS]Player On Hospital(POH) By: Splitx - dacads - 24.02.2008

This is pretty handy for RP


Re: [FS]Player On Hospital(POH) By: Splitx - splitx - 24.02.2008

I know


Re: [FS]Player On Hospital(POH) By: Splitx - GaMeouT - 28.02.2008

HOW TO PUT THE PLAYER TO STAY PUT UP TO THE MINUTE end?


Re: [FS]Player On Hospital(POH) By: Splitx - oOPacsterOo - 28.02.2008

Nice FilterScript but I found a bug, on your second death the timer is going at about 30 seconds left and you spawn. I think its because the second death bypasses the rest of the timer for some reason, if you could fix this in next update it would be great.


Re: [FS]Player On Hospital(POH) By: Splitx - Numhaken - 29.02.2008

Mirror -
http://www.crazyhost.info/download.php?file=738Poh.rar


Re: [FS]Player On Hospital(POH) By: Splitx - GaMeouT - 29.02.2008

Quote:
Originally Posted by GaMeouT
HOW TO PUT THE PLAYER TO STAY PUT UP TO THE MINUTE end?



Re: [FS]Player On Hospital(POH) By: Splitx - splitx - 29.02.2008

Down loade that 1 with count its mutch better :P


Re: [FS]Player On Hospital(POH) By: Splitx - diamondo25 - 29.02.2008

Tip, SplitX:

Let the player see the nearest hospital, with IsPlayerInCube or IsPlayerInArea or something


Re: [FS]Player On Hospital(POH) By: Splitx - splitx - 29.02.2008

Nice Idea! i will look at it


Re: [FS]Player On Hospital(POH) By: Splitx - Puffmac - 29.02.2008

for the counter...
pawn Код:
forward CountTimer();
new Count[MAX_PLAYERS];
pawn Код:
public OnGameModeInit()
{
  SetTimer("CountTimer",1000,1);
}
pawn Код:
public CountTimer()
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
    if(Count[i] > 0)
    {
      new str[256];
      format(str,sizeof(str),"~y~You will respawn in~n~~b~%d ~g~seconds",Count[i]);
      GameTextForPlayer(i,str,3000,3);
      Count[i] --;
    }
  }
}
pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
  Count[playerid] = 60; // Change it to the number the counter starts at
}
Something like that would do it .


Re: [FS]Player On Hospital(POH) By: Splitx - Zh3r0 - 14.03.2008

Nice Man That Very Nice Thx a lot i really needed Cya


Re: [FS]Player On Hospital(POH) By: Splitx - [IB]Scorcher - 15.03.2008

Thanks alot


Re: [FS]Player On Hospital(POH) By: Splitx - negima - 15.03.2008

Ho? Error Map -*-


Re: [FS]Player On Hospital(POH) By: Splitx - GaMeouT - 15.03.2008

I want the player freeze in the 60 seconds..

Howw?


Re: [FS]Player On Hospital(POH) By: Splitx - Rks25 - 15.03.2008

TogglePlayerControllable??


Re: [FS]Player On Hospital(POH) By: Splitx - Jaztek_Hodzic - 07.04.2009

I love you?

haha this is what ive been looking for


Re: [FS]Player On Hospital(POH) By: Splitx - Oxside - 07.04.2009

Not very diffucult to make, timer + GameTextForPlayer + SetPlayerFacing Angle!
But nice i was looking for this, i was lzay to make one by my self


Re: [FS]Player On Hospital(POH) By: Splitx - DMSOrg - 10.04.2009

This is nice! I'm glad this isn't just some dumb "Respawn at hospital when u die omgz im a leet hax0r and skriptoor cuz me make this" script. It's actually... functional! Good job!


Re: [FS]Player On Hospital(POH) By: Splitx - kukars22 - 12.04.2009

Ehh man.. I have seen this in IM. You have stoled it