AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Admin Weapons II(SniperBeamer) Build 6.5 (https://forums.alliedmods.net/showthread.php?t=5184)

Meatwad 08-23-2004 22:20

Admin Weapons II(SniperBeamer) Build 6.5
 
1 Attachment(s)
I am continuing Girthesniper's plugin that he made from SniperBeamers Admin Weapon II. If anyone has any suggestions for this plugin, please tell me.


Code:

/* AMXX Mod script.
*
* Admin Weapon II Build 6.5
*  by SniperBeamer
*  Builds by Girthesniper
*  Converted to AMXx by Girthesniper
*  Continued by MeatWad
*
*  AIM:Gir489
*  MSNM:[email protected] //I swear this is a MSNM
*  E-MAIL:gir489[AT]linuxmail.<nospam>org
*
* Gir says he will now take support for this plugin. I will not release my contact info for private reason..
*
*
* Description: Give clients weapons and accessories. This plugin has been tested, and works on a Condition Strike: Condition Zero server by MeatWad.
*
* Settings: amx_weaponmsg (0/1) - announces when a player gets a weapon.
*
* Usage: amx_weapon <authid, nick, @team, @all or #userid> <weapon #>
* Example: amx_weapon SniperBeamer 43 ; This give client 'SniperBeamer' an M4A1.
*          amx_weapon @ALL 17 ; This gives every one all the pistols.
*          amx_weapon @TERRORIST 46 ; This gives all the terrorists a scout.
*          amx_weapon @CT 42 ; This gives all the CTs the AK47.
*          amx_weapon Meat 48 ; This gives client 'MeatWad' the Arctic Warfare Magnum.
*
*  Build 1:
*            Added support for the Galil and FAMAS.
*            Added support for the shield.
*            Fixed MAC10 case not giving full ammo.
*            Fixed USP case not giving full ammo.
*
*  Build 2:
*            Converted plugin for AMXx use.
*            Added case, where you could give client full ammo for every gun.
*            Added case, where you could give client all pistols.
*            Added case, where you could give client all grenades.
*
*  Build 3:
*            Added cases for shield combos.
*            Added more categories.
*
*  Build 4:
*            Changed shield cases to 60's instead of 800's.
*            Fixed spelling errors in the intro.
*            Fixed case 63 causing server crash. (Thanks KingPin)
*
*  Build 5:
*            Removed that stupid amx_weaponmsg cvar. (Pointless.)
*            Cleaned up some of the code.
*            Reworded the register_plugin and register_concmd.
*            Renamed console prints from [AMX] to [AMXX].
*            Added AWM combo. (Case 100)
*            Fixed grammar discrepancies in Build 1's changelog.
*
*  Build 6:
*            Arranged weapons to follow Counter-Strike more chronologically. (Left the Assault cases alone. They would cause too much confusion.)
*            Added better description in the version array.
*            Fixed Gir's childish way of spelling "thanks."
*
*  Build 6.1:
*            Added C4. (Case 91)
*            Arranged asssualt weapons upon request. By whos name will remain nameless.
*
*  Build 6.2:
*            Added require_modules, for cstrike and fun. (Thanks DeviceNull)
*            Fixed the top of the commentary saying Build 5.
*            Organized almost every line in this plugin.
*            Updated the case examples in the commentary.
*            Fixed some of the 9MM guns not giving full ammo.
*            Completley cleaned up the case statements.
*
*  Build 6.3:
*            Fixed C4 not working.
*            More code and case cleanup.
*            Placed the shield cases more properly.
*            Fixed some of the grammar in the weapon comments.
*
*  Build 6.4:
*            Added money case. (Case 160)
*            Corrected register_plugin to the current version.
*            Added clone command of amx_weapon, as amx_weapons, to coincide with the name of the plugin.
*
*  Build 6.4.1:
*            Added ChangeLog knowledge of NightVision goggles. (Case 92)
*            Fixed some extremely minor things.
*
*  Build 6.4.2:
*            Fixed-up some code.
*            Added VERSION #define,
*      Fixed-up the plugin to compile with 1.60.
*
*  Build 6.5:
*            Added give_all_weapons case. (Case 666) ;)
*
*/


Nick 08-24-2004 02:44

When will the crash be fixed?

kingpin 08-24-2004 10:10

1 Attachment(s)
Quote:

Originally Posted by Nick
When will the crash be fixed?

as soon as people learn to read instead of making blind ports. here this one wont crash on case 63.

Meatwad 08-24-2004 12:11

Quote:

Originally Posted by kingpin
as soon as people learn to read instead of making blind ports. here this one wont crash on case 63.

Can you show me what you changed?

Meatwad 08-24-2004 16:20

All fixed. Thanks a million, kingpin. I still don't know what you changed, but thx.

kingpin 08-24-2004 21:09

lol no problem... I personally dont, like this plugin... I like mine better since it uses names isntead of numbers but.. mmm this is good for the public the I suppose.

Meatwad 08-24-2004 23:53

Quote:

Originally Posted by kingpin
lol no problem... I personally dont like this plugin... I like mine better since it uses names isntead of numbers but.. mmm this is good for the public the I suppose.

I like having a basic system of numbers, instead of names. I like organizing things via numbers. Like, my Music dir is #4, my Windows dir is #1, my KaZaA Lite folder is #9, etc, etc. Anyway, how did you fix it!?

Meatwad 08-24-2004 23:56

Could someone help me make it, so that if you define 1 it will give you numbers, if defined 0 it will give you names?

kingpin 08-25-2004 00:38

lmao thats easy to do the harder part is how to give them numbers. mm maybe Ill post mine here in a coupla days lemme clean it up a bit.

Meatwad 08-25-2004 14:38

Quote:

Originally Posted by kingpin
lmao thats easy to do the harder part is how to give them numbers. mm maybe Ill post mine here in a coupla days lemme clean it up a bit.

What do you mean?


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

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