Thread: GunShop Creater
View Single Post
Plugin Info:     Modification:          Category:          Approver:   twistedeuphoria (82)
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-06-2005 , 20:28   GunShop Creater
Reply With Quote #1

This plugin requires the Xeno Core.
http://forums.alliedmods.net/showthread.php?t=15838
Requires:
xeno_core
xeno_save

This plugin allows the user to create permanent gun spawns.

Makes a gun. Outputs the slot of the gun into console
xen_make_gun <gunId> <timetill respawn> <clips> <flags>

Sends a gun to a player
xen_send_gun <player> <gunId> <clips> <flags>

xen_remove_gun <slot>
Slot is outputted into console when you make a gun


DOCUMENTATION:

NOTE: Using a number that doesnt exist will either crash you, or give you a tau cannon.
Weapons:
1: "Glock 18"
3: "Mini Uzi"
4: "Benelli M3"
5: "M4A1"
6: "MP5SD"
7: "MP5K"
8: "Akimbo Berettas"
9: "Socom Mk23"
11: "Usas12"
12: "Desert Eagle"
13: "Ak47"
14: "FiveSeven"
15: "Steyr Aug"
17: "Steyr Tmp"
18: "Barrett M82"
19: "HK Pdw"
20: "Spas12"
21: "Akimbo colts"
22: "Glock 20"
23: "Mac10"
25: "Combat Knife"
26: "Mossberg 500"
27: "M16A4"
28: "Ruger Mk1"
24: "M61 Grenade"
29: "C4"
31: "Raging Bull"
32: "M60"
33: "Sawed off"
34: "Katana"
35: "Seal Knife"

flags:
USING FLAGS:
Flags are additive. If you want the gun to have a lasersight and a silencer, then it would be "3" for a flag. Add the flags you want.

0: "At Your Feet" - if lie on wall is not defined.
1: "Silencer"
2: "LaserSight"
4: "Flashlight"
8: "Scope"
16: "Lie on wall?"

Powerups:

0: "Random"
1: "Slow Motion"
2: "Infinite Clip"
4: "Kung Fu"
8: "Slow Pause"
16: "Double Firerate"
32: "Grenade"
64: "Health"
128: "Armor"
256: "Superjump"
Attached Files
File Type: sma Get Plugin or Get Source (xen_gunshop_addon.sma - 6144 views - 3.4 KB)
File Type: inc xen_gunshop.inc (1.1 KB, 2183 views)
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka