View Single Post
KaidemonLP
Member
Join Date: Jul 2016
Old 04-25-2017 , 01:39   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #106

Quote:
Originally Posted by The enigma View Post
How do I install yoners attributes?
and how do I use it in the weapons config?

(an example of it being used in a weapon)
You install the yoners.smx and put it in your plugins folder.
To add it to a weapon you give it this attribute
"trigger command"
{
"plugin" "yoners"
"value" "sm_slay {target}"
}
sm_slay is a command and if you want to insert the name of the player you shot put {target}.
Obviously you can make it a different command like sm_slap etc.
KaidemonLP is offline