Raised This Month: $ Target: $400
 0% 

Crossbow to Syringe Gun automatically on spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Newbie1992
Senior Member
Join Date: Jan 2013
Location: Germany
Old 09-19-2013 , 09:55   Crossbow to Syringe Gun automatically on spawn
Reply With Quote #1

Hi,

I'm looking to change the Crossbow to Syringe Gun automatically on spawn, when player spawn. Is there a way to do this?

why? there is a shitty bug in the rtd plugin with the infinite ammo perk and the Crossbow.

I think there is a way to do this with tf2items but i found no way atm.

Thanks for help.
Newbie1992
__________________
Newbie1992 is offline
Merbo
Member
Join Date: Jul 2012
Old 09-23-2013 , 06:52   Re: Crossbow to Syringe Gun automatically on spawn
Reply With Quote #2

you can just use a tournament whitelist and block it with vanilla tf2.
Merbo is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-23-2013 , 10:46   Re: Crossbow to Syringe Gun automatically on spawn
Reply With Quote #3

Quote:
Originally Posted by Newbie1992 View Post
Hi,

I'm looking to change the Crossbow to Syringe Gun automatically on spawn, when player spawn. Is there a way to do this?

why? there is a shitty bug in the rtd plugin with the infinite ammo perk and the Crossbow.

I think there is a way to do this with tf2items but i found no way atm.

Thanks for help.
Newbie1992
You can use TF2Items to block it, then check in the post_inventory_application event if the player is a Medic and if their primary weapon is -1 (using GetPlayerWeaponSlot(client, TFWeaponSlot_Primary) )

For whatever reason, changing a weapon's classname in TFItems during a TF2Items_OnGiveNamedItem has never worked, or I'd suggest that instead.

Quote:
Originally Posted by Merbo View Post
you can just use a tournament whitelist and block it with vanilla tf2.
Is vanilla TF2 a plugin/extension of some sort? Because the tournament whitelist isn't processed if you're not running TF2 in tournament mode (mp_tournament 1) and that also makes other changes, including not automatically changing the map when it finishes.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 09-23-2013 at 10:52.
Powerlord is offline
Newbie1992
Senior Member
Join Date: Jan 2013
Location: Germany
Old 09-23-2013 , 15:54   Re: Crossbow to Syringe Gun automatically on spawn
Reply With Quote #4

Hi,

Ok, but what i need to do for this? I can't code :>

Can anyone HELP ME !!!

Thanks!
__________________
Newbie1992 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode