Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
Uh.....adminmenu_custom.txt is part of SourceMod.
It's in tf/addons/Sourcemod/configs.... |
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
Quote:
Good luck debugging that. Hint: %N is not the droid you're looking for. |
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
It's probably an issue with my Alias keybind.....though it could possibly not be...
O.O I'll leave the server alone for a few days, check the error logs and see if it pops back up. |
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
It might just be me....or there might be an issue with Particle Effects on weapons and the latest update(s).
Everytime I taunt, the game screen freezes and the sound I make when I taunt (for example when I taunt with my Bushwacka as a Sniper, and the Bushwacka has the attribute "134 ; 1.0") repeats itself over and over. I can't taunt at all with my flaming weapons without the damn game freezing and the sound skipping. EDIT: Nevermind, seems it was a momentary issue and it's gone away. |
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
Sounds like you need a reboot
|
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
Quote:
--------------------------------------------------------------- Alrighty. I found the section of code in the plugin that controls how the sm_giveweapon_ex command works. Obviously it'd be the same bunch of code (somewhat) for sm_giveweapon and sm_resetex. What do I change in this section of code to change the commands input from "sm_giveweapon_ex <Player Name> <Weapon ID>" to "sm_giveweapon_ex <Weapon ID>" and have it 'fire' on the user who used the command? Code:
public Action:Command_WeaponEx(client, args) |
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
I don't have to support your changes, thatdarnkid.
Delete all arg1 references, delete that section that starts at /** *target_name and goes to for new...{ Change all target_list[i] to client. You're missing out on the visible weapons btw. Coming soon. Oh, and changes args != 2 to 1 and args != 3 to 2, and args == 3 to 2. And GetCmdArg(2...) to GetCmdArg(1...) but not the arg2, sizeof... stuff. |
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
whaaaaaaaaaatever.
|
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
Well I believe the problem starter was that I had Welcome messages enabled.
Everytime someone who is VIP on my server joined, the plugin tried sending the welcome message and couldn't. Hence my giant error logs. So I just switched the related CVAR for welcome messages to 0. Time to upload the various fixes I made, see if they work, and head to bed for the night. I've got a long day ahead of me tomorrow, driving all the way up to Florida. Thank you so much for the help guys, sorry for being abit of a pain in the ass with this stuff :P |
Re: [TF2Items] Give Weapon (v1.4.1.2.3, 12/11/2010)
Code:
Delete all arg1 references, delete that section that starts at /** *target_name and goes to for new...{ I was trying to change sm_giveweapon, sm_giveweapon_ex and sm_resetex so that they don't require a player name to operate. sm_giveweapon_ex seems to work...kinda....if you're not holding a melee weapon when you go to give yourself a different melee weapon, nothing happens. And console still spits out "Unknown Command". Code:
public Action:Command_WeaponEx(client, args) I'd love to spend all day and night working on it, but I'm leaving for Florida tomorrow, and won't be back until the 30th. I've gotta be heading to bed now. I might be able to slide on my laptop early tomorrow before I leave though. |
All times are GMT -4. The time now is 15:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.