SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/05/2015, 09:00 PM   #1
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Gold Bar Hunt - Event (0.3.7)

Gold Bar Hunt Event

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:
Code:
#define GOLD_BAR_VALUE 250000
Add More Gold Bars:

Find
Code:
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


Code:
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

Download

Version 1.0


Version 1.1 [new]


Custom 1.0 [new]

Last edited by Jakwob; 26/05/2015 at 02:33 PM.
Jakwob is offline   Reply With Quote
Old 14/05/2015, 12:57 PM   #2
lanix
Big Clucker
 
lanix's Avatar
 
Join Date: Dec 2014
Location: Croatia
Posts: 163
Reputation: 3
Default Re: Gold Bar Hunt - Event (0.3.7)

nice,but post pictures
__________________
Simple Anticheat: http://forum.sa-mp.com/showthread.php?t=570399
lanix is offline   Reply With Quote
Old 14/05/2015, 01:11 PM   #3
Younes44
Gangsta
 
Younes44's Avatar
 
Join Date: Oct 2013
Posts: 821
Reputation: 78
Default Re: Gold Bar Hunt - Event (0.3.7)

Good Job..
added Pic Pls <3
__________________
Currently Playing on - MW4
IP: 5.39.27.222:7777
Name: Bryan_ Retired Staff
Code:
FOK University, FOK Everything
Younes44 is offline   Reply With Quote
Old 14/05/2015, 03:02 PM   #4
AdHaM612
Big Clucker
 
AdHaM612's Avatar
 
Join Date: Oct 2013
Posts: 139
Reputation: 19
Default Re: Gold Bar Hunt - Event (0.3.7)

Good job, you should add pictures aswell.
__________________
My Work:
Quote:
[FilterScript]Rocket To The Moon
[FilterScript]Teleport System (When I was a newbie)
AdHaM612 is offline   Reply With Quote
Old 14/05/2015, 05:45 PM   #5
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Re: Gold Bar Hunt - Event (0.3.7)

I updated the code a bit to include Textdraws instead of sending client messages. Added screenshots to main topic and added new version dl link to the main topic. Thanks guys for your comments
Jakwob is offline   Reply With Quote
Old 16/05/2015, 01:05 PM   #6
LeXuZ
Huge Clucker
 
Join Date: Oct 2014
Location: United Kingdom
Posts: 308
Reputation: 12
Default Re: Gold Bar Hunt - Event (0.3.7)

Nice work Jak!
LeXuZ is offline   Reply With Quote
Old 16/05/2015, 01:26 PM   #7
Azula
Huge Clucker
 
Azula's Avatar
 
Join Date: Apr 2015
Location: *-*
Posts: 301
Reputation: 57
Default Re: Gold Bar Hunt - Event (0.3.7)

Nice work
Azula is offline   Reply With Quote
Old 17/05/2015, 09:30 PM   #8
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Re: Gold Bar Hunt - Event (0.3.7)

New custom version added, it will be updated separately to the GBH Event main filterscript. Find the link to the new Custom version in the main topic under the Download section. Hope you enjoy my work and thanks for the comments and support guys.
Jakwob is offline   Reply With Quote
Old 17/05/2015, 11:54 PM   #9
ImperioHosting
Big Clucker
 
ImperioHosting's Avatar
 
Join Date: Apr 2015
Location: Brasil/EUA/Canadá
Posts: 182
Reputation: 49
Default Re: Gold Bar Hunt - Event (0.3.7)

Very Good
__________________
Seu servidor precisa de um bom hosting? Ele precisa da Império Host


Suporte 24/7!
Liberação rápida!
Ping Baixo!
Proteção DoS/DDoS
Painel de fácil utilização!

SA:MP EUA: http://www.imperiohost.com.br/site/samp-eua.html
SA:MP Brasil: http://www.imperiohost.com.br/site/samp-brasil.html
VPS LINUX/WINDOWS: http://www.imperiohost.com.br/site/clouds.html
Cloud Anti-DDos: http://www.imperiohost.com.br/site/cloud-ddos.html
ImperioHosting is offline   Reply With Quote
Old 18/05/2015, 01:42 AM   #10
X337
Gangsta
 
X337's Avatar
 
Join Date: Sep 2014
Location: Indonesia
Posts: 855
Reputation: 213
Default Re: Gold Bar Hunt - Event (0.3.7)

Nice FS!
__________________
viva la sa-mp
X337 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Rajat's Event system! (Lockable, Event wins, guns) RajatPawar Filterscripts 14 07/03/2015 07:30 PM
[FS]Hunt event AdytzaSS Scripting Help 2 11/01/2013 06:16 PM
How to make /event start an actual event Snowman12 Help Archive 7 04/04/2011 12:39 AM
bug hunt 02manchestera Help Archive 2 27/03/2010 07:24 PM


All times are GMT. The time now is 04:02 AM.


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