Dantekris2013 Posted July 27, 2021 Share Posted July 27, 2021 Hi. I had a question related to "is it possible to make - only its owner could take his custom hat from the ground?" Like Woody's ax. I will be glad for any help, In addition, you can help for real money if know script. Link to comment Share on other sites More sharing options...
AkaiNight Posted July 29, 2021 Share Posted July 29, 2021 On 7/27/2021 at 5:06 PM, Dantekris2013 said: Hi. I had a question related to "is it possible to make - only its owner could take his custom hat from the ground?" Like Woody's ax. I will be glad for any help, In addition, you can help for real money if know script. check this this should have something like that 1 Link to comment Share on other sites More sharing options...
Dantekris2013 Posted July 31, 2021 Author Share Posted July 31, 2021 On 7/29/2021 at 6:36 PM, AkaiNight said: check this this should have something like that Oh yes. It seems what I want to do. But this code crash server then. Link to comment Share on other sites More sharing options...
AkaiNight Posted August 1, 2021 Share Posted August 1, 2021 can you post the logs Link to comment Share on other sites More sharing options...
CarlZalph Posted August 2, 2021 Share Posted August 2, 2021 If what you're looking to do is replicate what Lucy the Axe can do, then look no further than the possessedaxe component. It handles the dropping action you want as well as the attachment to a specific player. You'll want to copy-paste it into your mod's components and edit it to fit your needs as it does have some hardcoded things like the IsValidOwner function using the "woodcutter" tag. In fact this component could be handled more generic like with a rework for any general item with little effort. Link to comment Share on other sites More sharing options...
Dantekris2013 Posted August 3, 2021 Author Share Posted August 3, 2021 On 8/2/2021 at 8:42 AM, CarlZalph said: If what you're looking to do is replicate what Lucy the Axe can do, then look no further than the possessedaxe component. It handles the dropping action you want as well as the attachment to a specific player. You'll want to copy-paste it into your mod's components and edit it to fit your needs as it does have some hardcoded things like the IsValidOwner function using the "woodcutter" tag. In fact this component could be handled more generic like with a rework for any general item with little effort. Oh thank you! It really help and now all work fine. ) On 8/1/2021 at 11:35 AM, AkaiNight said: can you post the logs It;s ok now. It work. Thank you for help too! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now