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

Hi

I Have Made A Player On Hospital(POH) [FS]


Info


V.0.1 This FS Make When You Die You Will Need To Wait 60sec(1min) Before Re Spawn You Will See The Hospital...

Pic.



DownLoad. V. 0.1
.pwn
.amx
PasteBin

DownLoad. V. 0.2 (With Count Down From 60 Sec to 0 Then Spawn..)
PasteBin
.pwn
.amx

Next Version..Plz Give ideas xD

Mirrors Allowed


Keep My Credits Thx..
Reply
#2

Whoa, nice
Reply
#3

Thx xD
Reply
#4

nice script men
Reply
#5

This was what i needed, but splitx , i would love it, if it would have this.
A type of countdown
You will respawn in 60
You will respawn in 59
etc.

Understand, is that possible?

Rksss
Reply
#6

Quote:
Originally Posted by [NL
Rksss ]
This was what i needed, but splitx , i would love it, if it would have this.
A type of countdown
You will respawn in 60
You will respawn in 59
etc.

Understand, is that possible?

Rksss
>>>THIS<<< has a countdown
Reply
#7

It is possible but i dont know how.... but i will try to learn or i know eacyer way but longer..


and thx ppl
Reply
#8

Sandra or anyone else, can you combine the timer of
http://forum.sa-mp.com/index.php?top...5737#msg325737
With this fs, cuz that would be better.

Rksss
Reply
#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
#10

Hmmm....

pawn Код:
C:\DOCUME~1\Peter\SKRIVB~1\SA-MPS~1\FILTER~1\poh.pwn(32) : error 001: expected token: ";", but found "public"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
line 32 public OnFilterScriptInit()

MUHAHAAAH GOT it xD

Ps Sandra i will give u credits for count if u want?
Reply
#11

Quote:
Originally Posted by Splitx
Hmmm....

pawn Код:
C:\DOCUME~1\Peter\SKRIVB~1\SA-MPS~1\FILTER~1\poh.pwn(32) : error 001: expected token: ";", but found "public"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
line 32 public OnFilterScriptInit()

MUHAHAAAH GOT it xD

Ps Sandra i will give u credits for count if u want?
Код:
forward HospitalCountdown(playerid);
go on top of script
Reply
#12

Updated thx snipe
Reply
#13

Quote:
Originally Posted by Splitx
Ps Sandra i will give u credits for count if u want?
Sure, good luck with it


P.s. Sorry, i forgot a ;
Reply
#14

now it's better ^^
Reply
#15

Thx :P

Ps np sandra
Reply
#16

J heve question. What programme J create pos kamera?
Reply
#17

A debug Filter script search for it
Reply
#18

Nice one! Want a mirror?
Reply
#19

Quote:
Originally Posted by Numhaken
Nice one! Want a mirror?
Yes Read the first post xD MIRRORS Allowed xD
Reply
#20

Nice one Splitx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)