Extinguishable Fire 0.4b -
Meta - 16.02.2011
Extinguishable Fire! v0.4b
Hi

Today I present to you my "ExtFire"-Filterscript released on the
german forums on 13th December 2010.
I've been to lazy to translate it to english ...
Intro
Yea, what can I tell you here

I think everyone always wanted to control the fire in San Andras. "ExtFire" gives you the ability to lay fire where you want, extinguish it and let players burn, too ^^
Functions
Changelog:
12.12.2010 -
First Release (German forums)
13.12.2010
- Added Smoke if a player tries to extinguish a flame (like on normal fire)
- Made Players extinguishable
07.04.2011
- You can now stop burning if "CanPlayerBurn" returns 0 (e.g. you start swimming)
- You can't burn in water
- You can extinguish players now by pissing
- The Smoke gets deleted now, if the Filterscript gets unloaded (stayed there before).
- 5:26 pm: Smoke-Bugfix, please re-download!
01.05.2011 - Added explosions if you're trying to extinguish with a spray can
07.08.2011 - Removed AllowFireCMD as it was silly and made a few fixes
28.08.2011 - Fixed an error that made it unable to extinguish the flames
08.09.2012
- Fixed a huge bug that made only ID 0 extinguish fires or so
- Tweaked the performance
03.08.2013
- General code clean ups, prepared the script to be changed to be an include
- Changed variables and functions to fit the name convention, merged some to reduce redunant code
With this Filterscript you can do this:- With /fire you can create a fire, if enabled in Pawn.
- Fire can be extinguished on 3 ways.
- If you walk through a flameWITHOUT being a fireman (skin), you'll get on fire.
- If you touch some burning people, you also start to burn

You can extinguish flames with the extinguisher (GunID 42), a firetruck (Model 407), a SWAT Van (Model 601) and with SPECIAL_ACTION_PISSING

If "Flame ahead" is displayed on your screen, the extinguishing process just begun.
Required: minimum
SAMP 0.3c RC1
Note:- This fire acts like normal San Andreas Fire, it damages the player and burns as long as normal fire ^^
- Players earn money, if they extinguish a fire. You can simply disable this with commenting this:
- This Filterscript is multi-langual: German and english. Just change Line 10.
pawn Код:
#define German // German or English?
Functions & Callbacks:
pawn Код:
CreateFire(Float:x, Float:y, Float:z);
CreateSmoke(Float:x, Float:y, Float:z);
DestroyFire(id);
DestroySmoke(id);
RemoveSmokeFromFire(id);
TogglePlayerBurning(playerid, burning);
GetFireID(Float:x, Float:y, Float:z, &Float:dist);
OnFireUpdate();
ExtinguishTimer(playerid, id);
BurningTimer(playerid);StopPlayerBurning(playerid);
To config, when a player can burn, you can add this to your gamemode easily:
pawn Код:
public CanBurn(playerid)
{
//check ...
return 1; //0 = false, 1 = true
}
Screenshots:
Extiguishing by Extinguisher
Extiguishing with a Firetruck
Peeing the flames out ^^
Downloads:
ExtFire v0.4b (.zip with source and images)
Pastebin
German Post
==================================
Also check out
MMF to keep this filterscript up to date!
==================================
Have Fun!

Re: Extinguishable Fire -
wups - 16.02.2011
I think it's too complicated. But still. Good work!
Re: Extinguishable Fire -
Kwarde - 16.02.2011
I like it that you can pee xD
AW: Extinguishable Fire -
Meta - 16.02.2011
why not? :3
Re: Extinguishable Fire -
Maftaca - 16.02.2011
Like Firemen Work. Good Work And Nice
AW: Extinguishable Fire -
Meta - 16.02.2011
EDIT: Problem solved
Re: Extinguishable Fire -
Michael@Belgium - 20.02.2011
Lol is this normal ... i can't download anything !
Re: Extinguishable Fire -
Fenice - 20.02.2011
mirror? The site is offline
AW: Extinguishable Fire -
Meta - 21.02.2011
I'm very sorry, I just got some trouble with my server. Links are working, again.
Re: Extinguishable Fire -
Laronic - 07.04.2011
Quote:
Originally Posted by wups
I think it's too complicated. But still. Good work!
|
1+
And you should make 2 Versions.. 1 English and 1 Genman.. and not both in one :3
Thats my opinion..