Raised This Month: $ Target: $400
 0% 

Admin Weapon II (mattcook)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Johnny got his gun (102)
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-22-2005 , 00:48   Admin Weapon II (mattcook)
Reply With Quote #1

Ported to AMXX

Code:
/* AMX(x) Mod script.
*
* Admin Weapon II
*  by Mattcook
*
*
* Description: Give clients weapons.
*
* 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 Mattcook 43
*
*/

#include <amxmodx>
#include <amxmisc>
#include <fun>

Weapon codes:
Code:
11= USP
12= Glock
13= Deagle
14= 228
15= Dualies
16= 5-7

21= Pump Shotty
22= Auto-Shotgun

31= MP5
32= TMP
33= C90
34= Mac-10
35= UMP

40= Clarion
41= Kreig552
42= AK47
43= M4A1
44= Bullop
45= Scout
46= AWP
47= T-Autosniper
48= CT-Autosniper
49= Galil

51= Para

81= Kevlar
82= Kevlar + Helmet
83= Flashbang
84= HE Grenade
85= Smoke Grenade
86= Defuse Kit
87= Nightvision Goggles *Item Currently Non-Working*
88= Sheild

99= ALL GUNS
95= PARA,Dualies,Kit,Nades
96= AWP,Deagle,Kit,Nades
97= AK47,Deagle,Nades
98= M4A1,Deagle,Kit,Nades
90= All Pistols

60= Primary Ammo
70= Secondary Ammo
Binding on the keypad..

Code:
KEYPAD NUMBERS:
1= KP_END
2= KP_DOWNARROW
3= KP_PGDN
4= KP_LEFTARROW
5= KP_5
6= KP_RIGHTARROW
7= KP_HOME
8= KP_UPARROW
9= KP_PGDN

KEYPAD KEYS:
/= KP_SLASH
*= *
-= KP_MINUS
+= KP_PLUS
ENTER= KP_ENTER
.= DEL
0= INS
If anyone wants a custom weapons package, post a reply.
Attached Files
File Type: sma Get Plugin or Get Source (admin_weapon.sma - 13781 views - 17.6 KB)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
 



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 14:32.


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