Raised This Month: $ Target: $400
 0% 

[TF2] Custom Weapons 3 (Beta 2)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 07-15-2016 , 13:50   Re: [TF2] Custom Weapons 3 (Beta 1)
Reply With Quote #7

"insert a block into your"

just give a [spoiler]'d [code] for an example weapon config, it's much easier than trying to get the average layman to come to the same conclusion that they're using keyvalue config syntax in a very specific way.





I would've kept the convar names the same, that way nobody really needs to update their configs ;p


quick, remind people you've already been running CW3 for a while now lolo!!

PHP Code:
stock WeaponSwitch(iClientiSlot)
{
    
ClientCommand(iClient"slot%i"iSlot+1);

This can make people weapon switch without needing to do anything special to fix the viewmodels. Setting m_hActiveWeapon directly won't fire OnWeaponSwitch, which the core plugin uses to change whether or not viewmodels are visible or not.
__________________

Last edited by Chdata; 07-15-2016 at 14:04.
Chdata is offline
 



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 21:21.


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