Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
Update everything. SourceMod, Metamod:Source, the plugin, Randomizer gamedata, etc.
|
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
everything is up to date, still happens.
|
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
I'm not sure how to try to reproduce that bug. I think you may be getting some kind of TFCond-related crash, possibly?
|
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
Thank you very much for this great plugin, FlaminSarge:up:
but can you add something like sm_gimme_ex for public ( sm_gimme but "Gives on inventory application (spawn or locker touch- maybe not locker touch if you don't change loadout" )? it would be very useful. Thanks again :) |
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
Sure. I was actually considering making a mode for /givew and /givew_ex that did that, so that if you did /givew <number> it'd try to give you the number, and failing that it would try to target somebody. Of course, this'd be settable and configurable. I've got a pretty good system in mind.
|
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
Heyyy, I'm trying to modify the way the the ResetEx command works, and make a new version of the command that doesn't require a target (similar to "sm_gimme"), but does require a slot (i.e. 0, 1, 2), and also displays a PrintToChat message depending on which slot the player enters. Here's what I've got so far:
PHP Code:
I've tried changing the "g_iPermItems[client][slot] = -1;" to "g_iPermItems[client][0] = -1;" (change the 0 to 1 or 2, you get the idea). That didn't work too well. The code above removes the custom weapons (all of them, which I'm guessing is caused by the "[slot]" not having a number in it instead of 'slot') and displays all three messages at once. How do I fix this? (it's a custom thing, it'll be used in a custom "equip weapons" panel menu that I'm working on) |
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
The quickest way to make the change would be to keep all the code, set arg1 to be "@me", decrease the GetCmdArg(# numbers by 1, and add COMMAND_FILTER_IGNORE_IMMUNITY (or whatever it is) to the ProcessTargetString stuff.
|
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
Quote:
|
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
For some reason the Ap-Sap does not spawn.
|
Re: [TF2Items] Give Weapon (v3.14, 01/23/2013)
Quote:
Nor does the Ham Shank. |
All times are GMT -4. The time now is 00:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.