[FilterScript] [FS] Mounted Minigun 0.2 [updated]
#1

V1 adds a useable mounted minigun to your desired pos (check the source for more info)
V2 adds up to 5 mounted miniguns that you can enable and disable (again check the source)

You must add the objects your self, just put the cordinates at the defines in the source

Please do not remove the credits and add me in to your /credits commands plx!!!

Код:
/* This script was made by WeeDarr thanks to the ideas of this thread:
http://forum.sa-mp.com/index.php?topic=37951.0
You are not permitted to change anything other that the four defines below
if you use this you must also add me in to your credits list. If you are found
taking credit for it I will simply delete the files so nobody can download, so
you ruin it for others...
Anyway i hope you have fun with the script, if you find any errors or bugs please
report them at the official topic on the sa-mp forums. WeeDarr & thanks to denver?
for the PlayerToPoint function.

Last note, if you have teleport commands and you do not what the person to get
the minigun out of the minigun zone please remember to remove the minigun from the
player, i may add this in future versions, wait and see. I may also add support for multiple miniguns
*/
Download

V1
source - http://pastebin.thegtaplanet.net/pastebin.php?show=240

V2
source - http://pastebin.thegtaplanet.net/pastebin.php?show=241 very bugged, too bust to fix, Dont download

I removed the compiled version because you need to save your own positions

enjoy

WeeDarr

Screens

before - http://files.uploadffs.com/bcf9abf1c..._sa-mp-071.png
/usegun - http://files.uploadffs.com/ed2d1391d..._sa-mp-072.png
fire! - http://files.uploadffs.com/867cac4e3..._sa-mp-073.png
walk away or /exitgun - http://files.uploadffs.com/334bfefbc..._sa-mp-074.png

How to configure

Hey due to some confusion i am adding this tutorial on how to place the guns
In the script you will see these lines

Код:
// Minigun 1
#define GUN1    true
#define X1,Y1,Z1        1962.9644,1358.7168,8.2578
#define RX1,RY1,RZ1     0.0,0.0,359.1342
// Minigun 2
#define GUN2    true
#define X2,Y2,Z2        1962.8313,1330.7249,8.2501
#define RX2,RY2,RZ2     0.0,0.0,183.3760
// Minigun 3
#define GUN3      false
#define X3,Y3,Z3        0.0,0.0,0.0
#define RX3,RY3,RZ3     0.0,0.0,0.0
// Minigun 4
#define GUN4      false
#define X4,Y4,Z4        0.0,0.0,0.0
#define RX4,RY4,RZ4     0.0,0.0,0.0
// Minigun 5
#define GUN5    false
#define X5,Y5,Z5        0.0,0.0,0.0
#define RX5,RY5,RZ5     0.0,0.0,0.0
// Other defines
#define DISTANCE 3.0 // the distance for playertopoint
#define AMMO 500 // the amount of ammo for the minigun
They are the only ones you need to change, i will now explain what they do, First off go in to your game and do save where you want the minigun to be.

#define GUN1 true
This says if you want the gun to be made, e.g if you only want one gun set gun2-gun5's defines to false.

#define X1,Y1,Z1 1962.9644,1358.7168,8.2578
This is the x,y,z cordinates from your /save ingame, set the Z cordinate to 1 unit lower to make the gun on the ground.

#define RX1,RY1,RZ1 0.0,0.0,359.1342
This is the rotation cordinates for the minigun, for the facing angle of the gun its the last set of cordinates.

The same goes for all them of them up to gun5

#define DISTANCE 3.0
This is the maximum distance they can be from the gun, also it sets the area they can have the minigun in.

#define AMMO 500
This is simply just how much ammo is in the gun.

any more questions, ask!

WeeDarr
Reply


Messages In This Thread
[FS] Mounted Minigun 0.2 [updated] - by weedarr - 19.01.2008, 18:28
Re: [FS] Mounted Minigun 0.1 beta - by Jashugan - 19.01.2008, 18:39
Re: [FS] Mounted Minigun 0.1 beta - by Grove - 19.01.2008, 18:44
Re: [FS] Mounted Minigun 0.1 beta - by cmg4life - 19.01.2008, 18:56
Re: [FS] Mounted Minigun 0.1 beta - by Jashugan - 19.01.2008, 18:58
Re: [FS] Mounted Minigun 0.1 beta - by weedarr - 19.01.2008, 18:59
Re: [FS] Mounted Minigun 0.1 beta - by Syrus - 19.01.2008, 19:06
Re: [FS] Mounted Minigun 0.1 beta - by weedarr - 19.01.2008, 19:13
Re: [FS] Mounted Minigun 0.1 beta - by cmg4life - 19.01.2008, 19:16
Re: [FS] Mounted Minigun 0.1 beta - by weedarr - 19.01.2008, 19:21
Re: [FS] Mounted Minigun 0.2 [updated] - by weedarr - 19.01.2008, 20:06
Re: [FS] Mounted Minigun 0.2 [updated] - by cmg4life - 19.01.2008, 20:12
Re: [FS] Mounted Minigun 0.2 [updated] - by weedarr - 19.01.2008, 20:15
Re: [FS] Mounted Minigun 0.2 [updated] - by Avatar - 19.01.2008, 21:22
Re: [FS] Mounted Minigun 0.2 [updated] - by weedarr - 19.01.2008, 21:32
Re: [FS] Mounted Minigun 0.2 [updated] - by cmg4life - 19.01.2008, 22:33
Re: [FS] Mounted Minigun 0.2 [updated] - by weedarr - 19.01.2008, 22:45
Re: [FS] Mounted Minigun 0.2 [updated] - by Jashugan - 20.01.2008, 00:29
Re: [FS] Mounted Minigun 0.2 [updated] - by snipe69 - 20.01.2008, 00:45
Re: [FS] Mounted Minigun 0.2 [updated] - by snipe69 - 20.01.2008, 01:26
Re: [FS] Mounted Minigun 0.2 [updated] - by Jashugan - 20.01.2008, 03:01
Re: [FS] Mounted Minigun 0.2 [updated] - by weedarr - 20.01.2008, 10:20
Re: [FS] Mounted Minigun 0.2 [updated] - by swat[786] - 20.01.2008, 10:32
Re: [FS] Mounted Minigun 0.2 [updated] - by Zaka - 20.01.2008, 10:34
Re: [FS] Mounted Minigun 0.2 [updated] - by weedarr - 20.01.2008, 11:00
Re: [FS] Mounted Minigun 0.2 [updated] - by Avatar - 20.01.2008, 11:58
Re: [FS] Mounted Minigun 0.2 [updated] - by weedarr - 20.01.2008, 12:35
Re: [FS] Mounted Minigun 0.2 [updated] - by Avatar - 20.01.2008, 12:39
Re: [FS] Mounted Minigun 0.2 [updated] - by Jashugan - 20.01.2008, 13:44
Re: [FS] Mounted Minigun 0.2 [updated] - by weedarr - 20.01.2008, 14:11
Re: [FS] Mounted Minigun 0.2 [updated] - by Ady.b - 05.07.2010, 20:29
Re: [FS] Mounted Minigun 0.2 [updated] - by eddmex - 31.01.2011, 00:01
Re: [FS] Mounted Minigun 0.2 [updated] - by Infamous - 04.02.2011, 19:47
Re: [FS] Mounted Minigun 0.2 [updated] - by admantis - 04.02.2011, 20:17
Re: [FS] Mounted Minigun 0.2 [updated] - by _ELIX_ - 23.09.2011, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)