AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   TF2Items (https://forums.alliedmods.net/forumdisplay.php?f=146)
-   -   TF2 Items custom weapons problem (https://forums.alliedmods.net/showthread.php?t=298708)

icecafe3352 06-20-2017 20:57

TF2 Items custom weapons problem
 
My problem is that it only gives the weapon to the first player, not the 2nd. Am I doing something wrong or what?

Code:

"custom_weapons_v3"
{
        "STEAM ID HERE" //Me
        {
                "9" //Engineer Weapon
                {
                        "quality"                "5"
                        "level"                        "100"
                       
                        "1"                                "134 ; 2" //Particle Effect
                } //End Weapon
        } //End Steam ID
        "STEAM ID HERE" //Friend
        {
                "13" //Scout Weapon
                {
                        "quality"                "5"
                        "level"                        "100"
                       
                        "1"                                "134 ; 2" //Particle Effect
                } //End Weapon
        } //End Steam ID
} //End custom_weapons_v3


Gamemaster1379 07-24-2017 15:34

Re: TF2 Items custom weapons problem
 
It looks correct, but I do see that you're referencing the stock weapons, specifically. Bear in mind that the stock weapons (Wrench,Scattergun, etc) are actually different than the strange variants. They have their own index values.

You're using the stock item, I assume. I suspect your friend isn't. Have him unequip his strange and use the gray colored stock variant (or update your code to reference the strange version as well).

icecafe3352 08-07-2017 02:49

Re: TF2 Items custom weapons problem
 
Yes I have.


All times are GMT -4. The time now is 03:53.

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