Raised This Month: $32 Target: $400
 8% 

Minigun


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
CLLlAgOB
Senior Member
Join Date: Oct 2007
Location: Russia
Old 06-19-2009 , 20:36   Minigun
Reply With Quote #1

This plugin adds new weapon - minigun!
Minigun shoot 10 bulets in sec if set default amx_speed_m249 0.9
some code and models i take here (thx autor) http://forums.space-headed.net/viewtopic.php?f=25&t=352

Description options:

amx_cost_mini 1000 // cost
amx_ammo_mini "600" // ammi in clip
amx_oneround "0" // give minigun only one round? default 0(disable)
amx_speed_mini 0.9 // speed shoot recomend 0.9 (max speed 0.1)
amx_only_adm_buy 0 // if set 1 only admin have flag reservation
amx_minigun_damage 0.35 // damage multiplier (NEW)

Commands:

all:
say /minigun //to buy minigun
admin (LVL A):
amx_minigun_give <@all or name/id> <ammo>

Important! Use models which in archive if want that all worked correctly.
Thx for translate: Jack86,crazyeffect,fezh,MagNeto,tii,MmikiM

history:
v1.3 - FIXED msg overflowed
v1.31 Remove fun module and use fakemeta +add Spanish
v1.32 The code is slightly optimised
v1.4 Used other more correct method for "norecoil". The weapon on Scout is changed.
v1.5 Add amx_minigun_damage - damage multiplier, and fix crosshair and remove standart ammo display.
v1.51 Use fun module (Faster)
v1.6 Optimizate code(many changes in source) Has returned back use M249!
v1.61 Fix bug whis norecoil and bug ammo. Fix Run time error 10 native "get_weaponname"

last version v1.65 Optimizate code. Add Polish translate
Attached Thumbnails
Click image for larger version

Name:	minigun.jpg
Views:	13791
Size:	98.0 KB
ID:	44102  
Attached Files
File Type: zip minigun.zip (620.7 KB, 13156 views)
File Type: sma Get Plugin or Get Source (minigun.sma - 13158 views - 20.0 KB)

Last edited by CLLlAgOB; 07-03-2009 at 17:27. Reason: Update v1.65
CLLlAgOB is offline
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 06-19-2009 , 20:56   Re: Minigun
Reply With Quote #2

Nice plugin, but ammo is weird (hard to explain), and when you drop weapon you cant buy it again.

EDIT: Saw ammo message to the left, you should block other ammo message to the right when you have this.

Last edited by zacky; 06-19-2009 at 21:14.
zacky is offline
Send a message via Skype™ to zacky
CLLlAgOB
Senior Member
Join Date: Oct 2007
Location: Russia
Old 06-19-2009 , 21:22   Re: Minigun
Reply With Quote #3

Thx!
How block only ammo message?
CLLlAgOB is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 06-20-2009 , 04:53   Re: Minigun
Reply With Quote #4

Quote:
Originally Posted by CLLlAgOB View Post
How block only ammo message?
You are the author. So you should support your plugin and not ask the first poster how to do it, lol.
SnoW is offline
Send a message via MSN to SnoW
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 06-20-2009 , 05:34   Re: Minigun
Reply With Quote #5

Please use a .zip file!

And maybe make this MultiLangual

Also maybe a cvar like amx_minigun_adminonly 0/1
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
eforie
BANNED
Join Date: Dec 2008
Location: Romania
Old 06-20-2009 , 10:14   Re: Minigun
Reply With Quote #6

could make this compatible with biohazard?
thank you
eforie is offline
Send a message via Yahoo to eforie Send a message via Skype™ to eforie
CLLlAgOB
Senior Member
Join Date: Oct 2007
Location: Russia
Old 06-20-2009 , 10:29   Re: Minigun
Reply With Quote #7

Quote:
Originally Posted by crazyeffect View Post
Please use a .zip file!

And maybe make this MultiLangual

Also maybe a cvar like amx_minigun_adminonly 0/1
Done!
CLLlAgOB is offline
CLLlAgOB
Senior Member
Join Date: Oct 2007
Location: Russia
Old 06-20-2009 , 10:30   Re: Minigun
Reply With Quote #8

Quote:
Originally Posted by eforie View Post
could make this compatible with biohazard?
thank you
biohazard what vers of biohazard you use?
CLLlAgOB is offline
aviel2k
Junior Member
Join Date: Jul 2007
Old 06-20-2009 , 11:49   Re: Minigun
Reply With Quote #9

have problem,when I use command amx_only_adm_buy 0 ,players cant buy why?
aviel2k is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 06-20-2009 , 11:57   Re: Minigun
Reply With Quote #10

nice thing but i had server crash. i dont use this one & im to lame to debug this. maybe ull have a see @ this by ur self?!

PHP Code:
L 06/20/2009 15:38:47Invalid weapon id 0
L 06
/20/2009 15:38:47: [AMXXRun time error 10 (plugin "minigun.amxx") (native "get_weaponname") - debug not enabled!
L 06/20/2009 15:38:47: [AMXXTo enable debug modeadd "debug" after the plugin name in plugins.ini (without quotes).
L 06/20/2009 15:39:53Start of error session.
L 06/20/2009 15:39:53Info (map "de_dust2") (file "addons/amxmodx/logs/error_20090620.log")
L 06/20/2009 15:39:53Could not find function "Crosshair" 
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
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

Forum Jump


All times are GMT -4. The time now is 02:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode