SA-MP Forums Archive
[FilterScript] Extinguishable Fire - 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] Extinguishable Fire (/showthread.php?tid=226953)



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.201007.04.201101.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.201203.08.2013
With this Filterscript you can do this: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: 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..