• Gmod 10 SWEP Question
    11 replies, posted
2 questions 'ere How do you add sweps to the spawn menu? How do you give yourself, and others guns through the console?
Ye have to do like all the other poor bastards [url]http://www.garrysmod.com/wiki/lua[/url] I'm tired of people who thinks that just because GMod10 is out, it's ok to ask FOR (not about) bindings that you can find in the WIKI. Besides, I don't think anyone have figured out how to add a SWEP to the spawn menu yet?
Or you could provide a working link :P [url]http://www.garrysmod.com/wiki/?title=Lua[/url]
[QUOTE=Galliko]Ye have to do like all the other poor bastards [url]http://www.garrysmod.com/wiki/lua[/url] I'm tired of people who thinks that just because GMod10 is out, it's ok to ask FOR (not about) bindings that you can find in the WIKI. Besides, I don't think anyone have figured out how to add a SWEP to the spawn menu yet?[/QUOTE] Thank you so much for all your help! I've seen the wiki. I've used the wiki. I found this in the wiki. [url]http://www.garrysmod.com/wiki/?title=Player.Give[/url] And it didn't fucking work. [code] lua_run Player.Give("weapon_crowbar") [/code] Didn't work ^ Why not?
[QUOTE=firestorm0]Thank you so much for all your help! I've seen the wiki. I've used the wiki. I found this in the wiki. [url]http://www.garrysmod.com/wiki/?title=Player.Give[/url] And it didn't fucking work. [code] lua_run Player.Give("weapon_crowbar") [/code] Didn't work ^ Why not?[/QUOTE] [lua]player.GetByID(1).Give("weapon_crowbar")[/lua]
Thank you, my good sir.
[QUOTE=high][lua]player.GetByID(1).Give("weapon_crowbar")[/lua][/QUOTE] Not sure, but wouldn't that be [lua] player.GetByID(1):Give("weapon_crobar")[/lua] ?
[QUOTE=jlulian38]Not sure, but wouldn't that be [lua] player.GetByID(1):Give("weapon_crobar")[/lua] ?[/QUOTE] yes.
SWEP. Scripted WEaPon. S-W-E-P.
Ok, I'm trying to make a SWEP and I want it to be dual wielded, How would I go about doing so? Example of what I'm talking about trying to make: A pistol in your right and another in your left.
[QUOTE=Dr.Octoganopuss;18691036]Ok, I'm trying to make a SWEP and I want it to be dual wielded, How would I go about doing so? Example of what I'm talking about trying to make: A pistol in your right and another in your left.[/QUOTE] :byodood: Why do you people keep bumping such old threads...
[QUOTE=Dr.Octoganopuss;18691036]Ok, I'm trying to make a SWEP and I want it to be dual wielded, How would I go about doing so? Example of what I'm talking about trying to make: A pistol in your right and another in your left.[/QUOTE] Ok...Thanks for answering my question. I know the questions dumb, But could someone atleast answer it?
Sorry, you need to Log In to post a reply to this thread.