AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Minigun (https://forums.alliedmods.net/showthread.php?t=95132)

CLLlAgOB 06-19-2009 20:36

Minigun
 
3 Attachment(s)
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

zacky 06-19-2009 20:56

Re: Minigun
 
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.

CLLlAgOB 06-19-2009 21:22

Re: Minigun
 
Thx!
How block only ammo message?

SnoW 06-20-2009 04:53

Re: Minigun
 
Quote:

Originally Posted by CLLlAgOB (Post 852664)
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.

crazyeffect 06-20-2009 05:34

Re: Minigun
 
Please use a .zip file!

And maybe make this MultiLangual

Also maybe a cvar like amx_minigun_adminonly 0/1

eforie 06-20-2009 10:14

Re: Minigun
 
could make this compatible with biohazard?
thank you

CLLlAgOB 06-20-2009 10:29

Re: Minigun
 
Quote:

Originally Posted by crazyeffect (Post 852799)
Please use a .zip file!

And maybe make this MultiLangual

Also maybe a cvar like amx_minigun_adminonly 0/1

Done!

CLLlAgOB 06-20-2009 10:30

Re: Minigun
 
Quote:

Originally Posted by eforie (Post 852891)
could make this compatible with biohazard?
thank you

biohazard what vers of biohazard you use?

aviel2k 06-20-2009 11:49

Re: Minigun
 
have problem,when I use command amx_only_adm_buy 0 ,players cant buy why?

One 06-20-2009 11:57

Re: Minigun
 
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" 



All times are GMT -4. The time now is 01:28.

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