PDA

View Full Version : DoD CloseCombatFun ( v0.99beta4 )


Firestorm
07-09-2006, 09:40 AM
// DESCRIPTION:
// ============
//
// BladezFun:
// - Axis are given the spade on normal maps and the "fallschirmjäger"-knife
// on paramaps, Americans are given the normal american combatknife and
// Brits are given the british combat knife.
// - the knife/spade is the only weapon you have, so you can't switch it
// at all.
//
// PistolzFun:
// - Axis are given the Luger, Americans are given the Colt and Brits are
// given the Webley.
// - every player gets 999 shots for his pistol
// - the pistol is the only weapon you have, so you can't switch it at all.
//
// CloseCombatFun:
// - BladezFun combined with PistolzFun
//
//
// FEATURES:
// =========
//
// - Axis are glowing red and allies (americans & brits) are glowing green.
// (definable with cvar)
// - switching the team is no problem, you will automatically get the correct
// close-combat weapon and the correct glowing color.
// - a HUD message is shown to all players that the
// mode that has been chosen is enabled on first respawn.
// - Works on all maps, Axis, Americans & Brits.
// - Works for players that joined the server after you turned on
// the "CloseCombatFun Mode" as well.

// USAGE:
// =====
//
// amx_closecombatfun <1/2/3/0> = 1 Bladez
// 2 Pistolz
// 3 Bladez&Pistolz
// 0 Disable
// (admins only!)
//
// dod_closecombatfun <1/2/3> = enable a Mode by default
// (cvar for amxx.cfg)
//
// ccf_allowvotes <1/0> = allow/disallow votings
// (admins with flag "j" can always vote)
//
// ccf_glowplayers <1/0> = enable/disable to set players glowing
//
// say /votebladezfun = start a vote to start/stop BladezFun Mode
// (all players!)
//
// say /votepistolzfun = start a vote to start/stop PistolzFun Mode
// (all players!)
//
// say /voteclosecombatfun = start a vote to start/stop Bladez&Pistolz
// (all players!)

// CHANGELOG:
// ==========
//
// - 17.10.2004 Version 0.99beta
// Initial Release
//
// - 07.11.2004 Version 0.99beta2
// added a cvar to alow/disallow votings
// for public players.
// Note: Admins with level ADMIN_VOTE
// can always start a vote!
//
// - 21.11.2004 Version 0.99beta3
// major upgrade:
// * added a third mode that combines
// BladezFun & PistolzFun
// * added a cvar to glow players or not
// * changed way to start/stop different modes,
// now you don't have to disable one mode if
// you want to start another.
//
// - 12.12.2004 Version 0.99beta4
// removed the countdown and voice
// announcements to make the plugin
// most cpu saving and effective.

spitfire
07-30-2006, 05:16 PM
I get this error when I type in amx_closecombatfun 0-3
ML_NOTFOUND: NO_ACC_COM

Can I get some help with this I got no clue what is wrong?

diamond-optic
07-30-2006, 07:37 PM
the ML_NOTFOUND is usually cuased by a missing language file/entry

but looking at the plugin it doesnt use a lang file.. nor do i see it calling NO_ACC_COM anywhere in the code...
and looking thru the function for the amx_closecombatfun command.. i see no where that would cuase that error...

wierd

spitfire
07-30-2006, 09:26 PM
I know why it did that now.

I was trying to use amx and amxx in combination when its impossible.

Now im using amxx because it 1000% better and has better plugins! :)

diamond-optic
07-30-2006, 10:00 PM
lol :D

and yes amxx is much better.. its updated often and alot of amx scripters have moved over to amxx

spitfire
07-31-2006, 05:29 PM
You got that right I cant find like anyone to help me script on amx. Krotal Might have some nice plugins but they dont compare with these :)

scorpionsinz
02-07-2007, 08:23 AM
This plugin is very similar to something i was looking for. However, is there a way to change it from pistols, to Zooks and Blades? We love doing this but can't figure out how to get rid of pistols and the new clients connecting to have only zooks and blades. Any thoughts?

jason
02-09-2007, 11:16 PM
Nice.....
I posted something soo close to this as well in the "Request for plugin section" hehe

http://www.dodplugins.net/forums/showthread.php?t=527

So is their a way that I can have this on a auto vote system so there is no abuse with the public vote system and an admin doesn't have to be on to do the vote. Like the vote is just set for soo many minutes or something ....Any ideas?