SA-MP Forums Archive
[FilterScript] Hot Air Balloon Jetpack - 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)
+--- Thread: [FilterScript] Hot Air Balloon Jetpack (/showthread.php?tid=302369)



Hot Air Balloon (Jetpack controlled) - Flovv - 08.12.2011

Simple Hot Air Balloon Filterscript


What does it do?
It lets you fly a Hot Air Balloon with a jetpack, so it's flying quite smooth.

Settings:
pawn Код:
//SETTINGS
new bool:allow_jetpack = false;     //set true if jetpacks are allowed on your server

new Float:fs_balloon_kor[][3] =
{
    // Balloon Positions, (X, Y, Z)
    {-2318.278076,-1625.151977,483.406787},     //balloon 1 mt. chilliad
    {-1220.447998,9.320171,13.901531},      //balloon 2 sf airport
    {1920.374145,-2310.464355,13.246875},       //balloon 3 ls airport
    {1339.667236, 1309.602172, 10.520312}       //balloon 4 lv airport
};
Kind of selfexplaining. If you set allow_jetpack to false players won't be able to pick up the jetpack that spawns when exiting the Hot Air Balloon and you get a message saying Jetpacks not allowed.
This message will also show up if anyone will try to hack a jetpack.
You might use this when players aren't supposed to use jetpacks at your server.
For rcon admins this doesn't count.
If jetpacks are allowed at your server just set allow_jetpack to true

You can easily add balloons by adding a new set of coordinates to fs_balloon_kor. {x,y,z},
(z-coord about 0.4 units lower than playerposition works fine here)

Screens


Known Bugs:
Passengers carrying not possible unless you are flying very carefull.

Note:
This FS doesn't work when your running any kind of Anti-Jetpack thing!

Future Plans:
Maybe something like dropping bombs on a random timing/ on player pressing key

Download:
Pastebin
Megaupload (compiled FS with the 4 standard balloons)

Getting it work:
Just put the *.amx to your servers filterscripts folder and add fs_ballon to the filterscripts line in your server.cfg


Feel free to edit to your personal needs and redistribute, as long as you give me credit for this


If you notice any bugs, or got suggestions just tell me here


Re: Hot Air Balloon Jetpack - Edvin - 08.12.2011

This is pretty nice!

I will use it! Thanks.


Re: Hot Air Balloon Jetpack - Epic_Mickey - 08.12.2011

Well done


Re: Hot Air Balloon Jetpack - Emil123 - 22.03.2012

0.3c? or 0.3d?


Re: Hot Air Balloon Jetpack - petrolhead - 22.03.2012

it works on 0.3d only.


Re: Hot Air Balloon Jetpack - Awankz - 27.03.2012

Pretty Nice


Re: Hot Air Balloon Jetpack - SounDD - 07.01.2013

Great , I will use it.


Re: Hot Air Balloon Jetpack - Unirom Shaw - 08.01.2013

Awesome release !


Re: Hot Air Balloon Jetpack - xDaidal0S - 08.01.2013

Great work,i will test it and maybe add it to my server.


Re: Hot Air Balloon Jetpack - freeze98 - 18.12.2013

<remove>