Fenny Posted June 21, 2018 Share Posted June 21, 2018 so i created new character and i added perk "pacifism" (when you attack creatures or players your sanity goes down). So i writed this code. But my game started crashing when i choose character and press play. Or i can't launch server. (i am very very ****ty at lua) Link to comment https://forums.kleientertainment.com/forums/topic/92408-my-mod-is-crashing-my-game/ Share on other sites More sharing options...
DarkMatterZero Posted June 21, 2018 Share Posted June 21, 2018 Hey there. I'm pretty sure the problem is that it should say inst:ListenForEvent("onhitother", OnAttack) Hope this helps! Link to comment https://forums.kleientertainment.com/forums/topic/92408-my-mod-is-crashing-my-game/#findComment-1054163 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