SA-MP Forums Archive
[FilterScript] Explosive bullets! - 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] Explosive bullets! (/showthread.php?tid=518953)



Explosive bullets! - Cena44 - 12.06.2014

Explosive Bullets by TiMoN

[ame]http://www.youtube.com/watch?v=Tbldy8eYJ0g[/ame]

What is this?
This filterscript allows you to purchase explosive bullets for your weapons, however, not all weapons are supposed. Those unsupported ones are:
All melees.
All types of grenades.
Flamethrower, RPGs, minigun(I know it shoots bullets, but it becomes very OP and causes major lag and script delay).

How do I buy these explosive bullets?
You can type "/explosivebullets" in the chat and you'll get a checkpoint to the Market Ammunation, go inside and enter the explosive barrel pickup, choose your bullet type. Explosive ones cost $2500 and normal ones cost $500.

How much damage do these do?
Didn't measure, but I'm pretty sure that a direct hit can kill a player without armor and heavily damage any vehicle.

Download link?
Click me

Future plans?(Might not happen, I created this for fun)Credits:
SA-MP scripting team - Creation of SA-MP.
Rockstar Games - GTA San Andreas.
SA-MP Wiki - A really helpful tool for all scripters.
iPLEOmax - His textdraw editor helped me create the two textdraws.
Me - Scripting and creation of the filterscript.


Re: Explosive bullets! - kokoshkata - 12.06.2014

Now this is something new! I'll check it out.


Re: Explosive bullets! - iFiras - 12.06.2014

This is epic. REP+


Re: Explosive bullets! - Tidzii - 12.06.2014

I love it


Re: Explosive bullets! - iRaiDeN - 12.06.2014

Wow nice.


Re: Explosive bullets! - Rocky1993 - 12.06.2014

Nice ! Unique !


Re: Explosive bullets! - verlaj - 12.06.2014

havent really checked the script but are you using (1)onplayergivedamage with createexplosives ? or (2)frontvector ? or both cuss (1) supports only when you hit the players but not the stuffs such as vehicles(player is not entered) while (2) required complex coding.. :3 but if you combine them then it would be awesome

although by reading your post, i guess you only created createexplosives, no ? remember if you are planning for specific damage then make sure to setplayerteam so you wont get false reading with onplayertakedamage :3 (just suggesting)


Re: Explosive bullets! - Cena44 - 12.06.2014

Quote:
Originally Posted by verlaj
View Post
havent really checked the script but are you using (1)onplayergivedamage with createexplosives ? or (2)frontvector ? or both cuss (1) supports only when you hit the players but not the stuffs such as vehicles(player is not entered) while (2) required complex coding.. :3 but if you combine them then it would be awesome

although by reading your post, i guess you only created createexplosives, no ? remember if you are planning for specific damage then make sure to setplayerteam so you wont get false reading with onplayertakedamage :3 (just suggesting)
I used OnPlayerWeaponShot and used CreateExplosion at the shot's hit X/Y/Z, your suggestion is somehow impossible(in my point of view) as the player can still take splash damage from the explosion even if he's on the same team as the shooter. Unless I make it that it cancels the explosion if the teammate is in a predefined radius near the shot.

Thanks everyone for your feedback!


Re: Explosive bullets! - PreetZ - 12.06.2014

New in market, gotta try it out


Re: Explosive bullets! - xXcaliberXx - 12.06.2014

Lol. Nice xD Good Job bro


Re: Explosive bullets! - hossa - 12.06.2014

Could be used in stunt servers, But for TDM would be very OP


Re: Explosive bullets! - Devil123 - 12.06.2014

EPIC


Re: Explosive bullets! - Salim_Karaja - 12.06.2014

Nice include, can you give me the animation when the player dies ? please


Re: Explosive bullets! - Cena44 - 13.06.2014

Quote:
Originally Posted by Salim_Karaja
Посмотреть сообщение
Nice include, can you give me the animation when the player dies ? please
It's a ped.ifp mod, can't remember the name, sorry.


Re: Explosive bullets! - shaff - 13.06.2014

Wow good job i wanna check it out!!