Quote:
Originally Posted by GeoDashEabarod
What is wrong with my script? I am making a weapon, so someone please see what is wrong
Code:
"Pyromaniac's Unicorn Friend"
{
"classes"
{
"pyro" "1"
}
"baseclass" "flaregun"
"baseindex" "39"
"mag" "16"
"ammo" "16"
"description" "Stuns when opponent is above you\nMini-Crits become crits"
"attributes"
{
"mod stun waist high airborne"
{
"plugin" "tf2attributes"
"value" "5.0"
}
"minicrits become crits"
{
"plugin" "tf2attributes"
"value" "1.0"
}
}
End Script: I load up TF2 and it isn't showing up. My other weapons are working but this isn't
|
Make sure that if you didn't restart the server (as you don't have to) you use this command
Code:
sm plugins reload customweaponstf
to reload the weapons file. Other than that, check your code because what you posted, you're seemingly missing a closed bracket ( } ) at the end
EDIT: Just realized this was a WAY late response, was just doing research on my own for this and found your question so.. my bad. Hope you found your problem already!