[FilterScript] [Great for RP] Random fires for firefighters
#1

This is a FS that has a 50-50 chance of spawning a fire on one of the 21 locations currently scripted, in Red County. It tries to spawn a fire every 30 seconds. Firefighters can /putoutfire to put it out. Civilians who approach too close to the fire start losing health, until they move away.

How to use

Get in a firetruck or have a fire extingusher. Make sure you have a firefighter skin and get close to the fire and type /putoutfire.

Note:
- Only one fire is spawned at the map
- The fire consists of 5 large flames that dissapear over time (after you extingush them)
- The whole fire has 100 points. /putoutfire'ing in a firetruck results in -15 points for a fire, while on foot in -5

Commands

- /putoutfire - extingush the fire.

Known bugs

- None found at the moment, but there's a possibility.


Screenshot



Uploaded with ImageShack.us

Uploaded with ImageShack.us


Download

.AMX - http://www.mediafire.com/?2sshubqc0pst8u7
.PWN - http://www.mediafire.com/?awbk8zv85vud4uj
Pastebin - http://pastebin.com/XQ44u1wz


Credits

Outcast - creator


License
You are permitted to use this and modify it as long as you give credits and keep the credits in the script untouched.
Reply
#2

I needed this a lot, and by the look of it, this looks really realistic. Thank you very, very much, and good job!
Reply
#3

Quote:
Originally Posted by 69Playa
View Post
I needed this a lot, and by the look of it, this looks really realistic. Thank you very, very much, and good job!
No problem. Feel free to modify it to fit your needs. I did it very quickly, so there may be bugs, I'll fix them if found.
Reply
#4

looks good,please could you post some more info and/or screenshots?
Reply
#5

So damn great been looking for this.
thank you sir
Reply
#6

Fucking awesome job!
Reply
#7

Geez this is great.
Reply
#8

Great job, thanks I'm going to be using this. Don't worry you will be credited if i use it.
Reply
#9

It looks very nice, but i cant use this on my RP server as we use mainly Los Santos
Reply
#10

Every 30 seconds? Can i change that in the script at the defines or something as i gotta say that every 30 seconds is a bit muchX)
Reply
#11

Quote:
Originally Posted by justsomeguy
View Post
Every 30 seconds? Can i change that in the script at the defines or something as i gotta say that every 30 seconds is a bit muchX)
Well, you can change it under the "CMDutoutfire..." part of the script. Just search for SetTimer("ReloadFun", ...) and change the 30000 to which ever number you like (like, for 5 seconds you use 5000, and so on).
Reply
#12

Verry nice job my server needed this, thanks alot
Reply
#13

Nice how would i send a message to fd that fire has broken out at blah location?
Reply
#14

Is this server side fire? Like does the fire hurt you?
Reply
#15

Quote:
Originally Posted by Lorenc_
View Post
Is this server side fire? Like does the fire hurt you?
Yes, it hurts you, but you can't be set on fire though...
Reply
#16

How i can create new fire locations?
there is a lot of cordinates in one createfire
Please explain me that
______________________________
Sorry for my bad english
Reply
#17

how i can modify this FS..I want tthat the fireman take cash when stop the fire..How i can do?
Reply
#18

Nice release Outcast.
Reply
#19

Quote:
Originally Posted by oliver12
View Post
How i can create new fire locations?
there is a lot of cordinates in one createfire
Please explain me that
______________________________
Sorry for my bad english
Well, every "createfire" has five x,y,z co-ordinates. That's because fire is made out of 5 big fire particles. So, for each new fire location you have to create 5 fire particles. So it would be like:

X1, Y1, Z1, (1st fire particle)X2, Y2, Z2 (2nd fire particle) ...
Reply
#20

fire!!! wow
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)