Sunday 17 May 2015

Gold Bar Hunt Custom - Version 1.0

This filterscript is an event in which Gold Bars 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.

Note: this filterscript is a custom version to the Gold Bar Hunt Event, as this is always running and more like a server feature than an event. this is smaller and easy to edit. This filterscript will only be updated upon request!



Features

  •  10 Random Gold Bar Spawns (more coming soon)
  • /golddist - View gold bar distance textdraw
  • F key to pick up gold bar.
  • Gold Bar Distance textdraw.
  • Gold Bar Location in textdraw.
  • Gold bar spawns once the other is collected [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.

ChangeLog:

Version 1.0

  • Replaced and altered textdraws.
  • Cleaned code.
  • Textdraws visable all the time.
  • Removed all timers.
  • '/goldbar' is now /golddist.
  • 6 new gold bar spawns.


Credits

  • Jakwob (me) - Idea and writing the code
  • Incognito - For his streamer
  • Southclaw - For his Southclaws Interaction Framework
  • Zeex - For his command processor

Custom Download
Version 1.0
GBHCustom.pwn (solidfiles.com)

4 comments:

  1. Silver Gold Bull is a highly reputable silver & gold dealer. They will provide you with reasonable, up-to-minute pricing and they will make sure your gold and silver is delivered to your door discreetly and securely.

    ReplyDelete
  2. What object id is that gold bar?

    ReplyDelete
  3. You would not need to put the gold bar Id as the code has done it for you

    ReplyDelete