[FilterScript] Bomb System
#1

About
Simple filterscript that enables you to place bombs on the street, in a vehicle with a timer explosion or inside some vehicle and use a remote to explode it!
Bomb Types

All bombs use same Timer and all bombs cost 10.000$ (Redefine Bomb_Price to edit it!). Im using Explosion 10 which doesnt create the fire. If you want to change it you will have to do it manualy by changing each CreateExplosion
-Normal bomb that you can place on the street, once you plant it, it will make a 3D text and a object on the ground that will explode after 15 seconds (redefine Bomb_Time to change the time of the explosion!).
-Car bomb. Same as above but you plant it in a vehicle, it will explode after 15 seconds (Uses same Bomb_Time)
-Remote bomb. Okay so you plant a bomb inside a vehicle and you use your remote to make it explode! You must be in the range of the vehicle (50 meters default) or otherwise you wont be able to do it.


Commands
Normal: /buybomb
Remote bomb: /plantremote, /explode
Normal car bomb with timer: /carbomb
Normal street bomb: /plantbomb

Screenshots
Some screenshots, well the only thing you can actually see is the text and the only visual bomb is the one that explodes on the street.
http://postimg.org/image/csifrf95h/
http://postimg.org/image/tevemrcph/
http://postimg.org/image/hjdpvpclx/
http://postimg.org/image/fwoiah0k5/
http://postimg.org/image/na3w9fklx/
http://postimg.org/image/hfoht6wid/
http://postimg.org/image/k0u2gplw5/


Bugs
The vehicle wont explode (lower its HP) if no one is inside the vehicle. I didnt want to use DestroyVehicle since I think some people wouldnt want this therefore if no one is inside the vehicle, explosion will be created around it but it will not explode. I might add a system to reduce that vehicles HP but I will not do it right away. Im trying to find best solution for this problem


Download
Pastebin: http://pastebin.com/4DAVf361

Credits
TwinkiDaBoss - Creator of the FS
Zeex - ZCMD
SAMP Team - entire samp
Reply
#2

Good job keep it up !
+rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)