Ulysses

Ulysses Stuff => Releases => Topic started by: jakej78b on April 16, 2014, 07:30:17 PM

Title: Ulx Give: A simple way to give weapons
Post by: jakej78b on April 16, 2014, 07:30:17 PM
Hey, I believe this is my first post, if not then my first release. This is a simple little thing that I wrote, and it is my first thing ever and I feel very successful. It is a fix of a plugin that appeared to be old and non-functioning, that was written by vader0146 in 2009 (Original Thread: http://forums.ulyssesmod.net/index.php?topic=4386.0 (http://forums.ulyssesmod.net/index.php?topic=4386.0)) Anyways, I used existing commands and API reference to throw this all together, have fun!

Didn't realize chaos13125 has made a module similar to this in recent days, haven't checked his out yet so maybe it has better functionality. Learners learn eventually I guess.

Title: Re: Ulx Give: A simple way to give weapons
Post by: Chironex on April 20, 2014, 02:36:32 AM
Good job for a first thing ;)
Title: Re: Ulx Give: A simple way to give weapons
Post by: ragegriffith on August 02, 2014, 03:13:53 PM
Will it only give these weapons? "local hl2weps = {"weapon_crowbar","weapon_stunstick","weapon_physcannon","weapon_physgun","weapon_pistol","weapon_357","weapon_smg1","weapon_ar2","weapon_shotgun","weapon_crossbow","weapon_annabelle","weapon_frag","weapon_rpg","weapon_slam","weapon_bugbait","item_ml_grenade","item_ar2_grenade","item_ammo_ar2_altfire","item_healthkit","item_healthvial","item_suit","item_battery","gmod_camera","gmod_tool"}"

is there a way to detect all the weapons on server? Also why I type !Give Name weapon_pistol it says it gives me one but it doesn't actually spawn a weapon
Title: Re: Ulx Give: A simple way to give weapons
Post by: Bite That Apple on August 02, 2014, 03:59:50 PM
pretty much the same thing, it works.
Title: Re: Ulx Give: A simple way to give weapons
Post by: COOLJ on March 13, 2015, 03:28:33 PM
Will it only give these weapons? "local hl2weps = {"weapon_crowbar","weapon_stunstick","weapon_physcannon","weapon_physgun","weapon_pistol","weapon_357","weapon_smg1","weapon_ar2","weapon_shotgun","weapon_crossbow","weapon_annabelle","weapon_frag","weapon_rpg","weapon_slam","weapon_bugbait","item_ml_grenade","item_ar2_grenade","item_ammo_ar2_altfire","item_healthkit","item_healthvial","item_suit","item_battery","gmod_camera","gmod_tool"}"

is there a way to detect all the weapons on server? Also why I type !Give Name weapon_pistol it says it gives me one but it doesn't actually spawn a weapon

Don't know much about lua and this stuff but couldn't you add your weapons to that list?