This filterscript is an event in which every 30 minutes a Gold Bar will spawn, the objective is for players to hunt and collect the gold bar, it will be a race to see who gets the gold bar.
Features
- 4 Random Gold Bar Spawns (more coming soon)
- Command to get distance from Gold Bar
- F key to pick up Gold Bar.
- Gold Bar Distance Textdraw [new]
- Gold Bar Event start textdraws [new]
- Gold Bar Location in textdraws [new]
Requirements
- SIF.inc
- streamer.inc
- zcmd.inc
Installation
Put GBH.amx In your Filterscripts folder
Put 'GBH' on your filterscript line in your server.cfg
Screenshots
How to:
Change Gold Bar Value:
#define GOLD_BAR_VALUE 250000
Add More Gold Bars:
Find
new Float: GoldBarSpawns[][3] ={ {2489.55713, -1648.19702, 14.12130},
{1273.50989, 165.30269, 19.61811},
{2297.84546, 1402.68140, 42.90400}, {-2701.21313, 850.51392, 70.42670}
};
Example:
new Float: GoldBarSpawns[][3] ={ {Float:x, Float:y, Float:z,}, // Object Float:x/y/z
{Float:x, Float:y, Float:z,}, // Object Float:x/y/z
{Float:x, Float:y, Float:z,}, // Object Float:x/y/z
{Float:x, Float:y, Float:z,}, // Object Float:x/y/z
};
Note: Zones are all automatic.
Credits
- Jakwob (me) - Idea and writing the code
- Incognito - For his streamer
- Southclaw - For his Southclaws Interaction Framework
- Zeex - For his command processor
Version 1.0
GBH.pwn (solidfiles.com)
Version 1.1
GBH.pwn (solidfiles.com)
No comments:
Post a Comment