SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 04/07/2014, 08:31 AM   #1
Inverse
Huge Clucker
 
Inverse's Avatar
 
Join Date: Jun 2011
Location: Braavos
Posts: 271
Reputation: 19
Spray xPlosions

xPlosions
Version: 1.0


Info


=> A bombs filterscript that allows players to buy bombs, plant them, and then detonate them. The script includes a bomb shop and a bombs inventory. It also comes with a saving system which automatically saves the bombs a player has in his inventory. The whole interface has been done using dialogs.



Types of Bombs


The script features 3 types of bombs (depending upon the blast radius they create):


=> Small Bomb
=> Normal Bomb
=> Heavy Bomb



Commands


=> /buybomb - Opens up the Bomb Shop. Players can buy bombs using this.
=> /plantbomb - Brings up the Bomb Inventory. Players can plant bombs using this.
=> /detonate - Once the bomb has been planted, it can be detonated using this.




Configuration



Setting up the Bomb Shop

=> Setting the prices.
pawn Code:
#define SMALL_BOMB_PRICE 0    //Just change these.
#define NORMAL_BOMB_PRICE 0
#define HEAVY_BOMB_PRICE 0

=> Setting the Shop Coordinates
pawn Code:
#define ShopX 0.0   //Just change these.
#define ShopY 0.0
#define ShopZ 0.0

General

=> Changing the saving directory.
pawn Code:
#define xPlosivesPath "xPlosives/%s.ini"  //Change the part under commas



Downloads



=> Version 2.0

- In development.

=> Version 1.0

Pastebin (ZCMD, Y_INI needed for compilation)
__________________
[FS] xPlosions - NEW!
Inverse is offline   Reply With Quote
Old 04/07/2014, 08:33 AM   #2
SHE790
Huge Clucker
 
SHE790's Avatar
 
Join Date: Jul 2014
Location: Iran
Posts: 196
Reputation: 16
Default Re: xPlosions

Good Job +REP
__________________
SHE790 is offline   Reply With Quote
Old 04/07/2014, 09:25 AM   #3
KayJ
Gangsta
 
KayJ's Avatar
 
Join Date: Apr 2014
Posts: 712
Reputation: 64
Default Re: xPlosions

Nice work
__________________
SA:MP Wikipedia Profile

SA:MP Github Profile

Quote:
Originally Posted by Y_Less View Post
This is an extremely complex operation, revealed only to the best mathematicians in the world. It is called "multiplication"....
Quote:
Originally Posted by KayJ View Post
Go mobile or this will die. Many developers see and many don't but there will be heavy drop of playerbase in samp in next 5 years as people are going mobile and use pc mostly for next gen games not this decade old game.
KayJ is offline   Reply With Quote
Old 04/07/2014, 07:52 PM   #4
iFarbod
Gangsta
 
Join Date: Jan 2014
Location: Los Santos (HD Universe)
Posts: 706
Reputation: 59
Default Re: xPlosions

Very Very nice job. +REP
iFarbod is offline   Reply With Quote
Old 05/07/2014, 12:57 AM   #5
FahadKing07
Gangsta
 
FahadKing07's Avatar
 
Join Date: Oct 2013
Location: Miami
Posts: 706
Reputation: 64
Default Re: xPlosions

Great Work. Keep it up

+REP
__________________
Want money to host? Want to sell your gamemode? I will pay, message me.

|| Entrepreneur | Marketing Expert ||
FahadKing07 is offline   Reply With Quote
Old 05/07/2014, 01:01 AM   #6
Inverse
Huge Clucker
 
Inverse's Avatar
 
Join Date: Jun 2011
Location: Braavos
Posts: 271
Reputation: 19
Default Re: xPlosions

Thanks everyone for the positive feedback. I'll be updating this script in the near future with more commands and more types of bombs. So stay tuned.
__________________
[FS] xPlosions - NEW!
Inverse is offline   Reply With Quote
Old 05/07/2014, 01:21 AM   #7
SHFaCeBook
Big Clucker
 
Join Date: Jun 2014
Location: United Kingdom
Posts: 106
Reputation: 2
Default Re: xPlosions

Great job.
SHFaCeBook is offline   Reply With Quote
Old 05/07/2014, 04:18 AM   #8
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,837
Reputation: 607
Default Re: xPlosions

I'm not accusing you of anything, but I had just put my bomb script on a server. Almost exactly like this but you can attach bomb to players and bases and you can plant them... Nice job! But I did it first and I have proof! +REP though, :P.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 05/07/2014, 04:48 AM   #9
Crystallize
Banned
 
Join Date: Aug 2013
Posts: 1,582
Reputation: 314
Default Re: xPlosions

This is my boy good job make me proud <3
Crystallize is offline   Reply With Quote
Old 05/07/2014, 07:46 AM   #10
Inverse
Huge Clucker
 
Inverse's Avatar
 
Join Date: Jun 2011
Location: Braavos
Posts: 271
Reputation: 19
Default Re: xPlosions

Quote:
Originally Posted by Crayder View Post
I'm not accusing you of anything, but I had just put my bomb script on a server. Almost exactly like this but you can attach bomb to players and bases and you can plant them... Nice job! But I did it first and I have proof! +REP though, :P.
No doubt. I'm sure your's must be better since this is just a basic script at the moment. But I plan to update it to a comprehensive bomb script in the future.
__________________
[FS] xPlosions - NEW!
Inverse is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.