04.07.2014, 07:31
xPlosions
Version: 1.0
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 Код:
#define SMALL_BOMB_PRICE 0 //Just change these.
#define NORMAL_BOMB_PRICE 0
#define HEAVY_BOMB_PRICE 0
pawn Код:
#define ShopX 0.0 //Just change these.
#define ShopY 0.0
#define ShopZ 0.0
=> Changing the saving directory.
pawn Код:
#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)