[Include] [INC] hAreas 0.3 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] hAreas 0.3 (
/showthread.php?tid=94049)
[INC] hAreas 0.3 -
Homerman - 27.08.2009

I've done this INClude over five months ago, and I didn't released it... Then I asked today - Why not? So, this is
Homer's Areas INClude!
What is it: With this INC, you can create or set restricted / forbidden areas. And when someone enters this area... He'll be followed by an little rocket... Then he blow up

Look at screens
Screenshots:
Someone entered the area...
This is not fly hack
Usage:
Firstly put up in your FS / GM this:
After that, you should put this in OnGameModeInit / OnFilterScriptInit:
Code:
hAreas_OnGameModeInit();
This is main function:
Code:
CreateRestrictedArea(id,const name[],Float:X,Float:Y,Float:Z,radius);
Example of this function:
Code:
CreateRestrictedArea(1,"My Pretty Zone",4.3967,1775.2869,18.2858,500); // Creates a restricted area at Area51
Or use this - for just one player:
Code:
CreateRestrictedArea(playerid,id,const name[],Float:X,Float:Y,Float:Z,radius);
And please, don't forgot this: If you have in your GM too much objects, rocket could sometimes change for something other...
Like this...
Uploading.Com Mirror
I don't want any other mirrors, thanks 
Re: [INC] hAreas 0.2 -
Doppeyy - 27.08.2009
Nice man and easy to use for newbies as wel.
Keep up the good work.
/Artix
Re: [INC] hAreas 0.2 -
James_Alex - 27.08.2009
nice one
Re: [INC] hAreas 0.2 -
HuRRiCaNe - 27.08.2009
nice work
Re: [INC] hAreas 0.2 -
Homerman - 28.08.2009
Thanks. If you've found a bug, please tell it to me.
Re: [INC] hAreas 0.2 -
caribe88 - 28.08.2009
Sounds nice good job, but how you can make it restricted for only certain players?
Re: [INC] hAreas 0.2 -
Homerman - 28.08.2009
Hmm, you should change it yourself... Or I'll add it in next version, isn't bad idea
Re: [INC] hAreas 0.2 -
.::: Ecko :::. - 28.08.2009
Quote:
Originally Posted by [RiFA
Artix ]
Nice man and easy to use for newbies ass wel.
Keep up the good work.
/Artix
|
Uhm,'ass'?
anyway nice release.
Ecko
Re: [INC] hAreas 0.3 -
Homerman - 29.08.2009
New version with new function. Wanna set forbidden area just for one player? No problemo.
(Not tested yet, if someone want - please test it

)
Re: [INC] hAreas 0.3 -
TheDanzar - 29.08.2009
Haha I love the creativity of this, very nice.