Jump to content

tr1ckzy

Member
  • Posts

    1
  • Joined

  • Last visited

tr1ckzy's Achievements

  1. Hi there! I'm brand new to lua and modding in general and I wanted to create a mod that plays a sound whenever the player yells. I wrote a piece of code that gives me an error whenever I press Q in game - "Object tried to call nil in OnCustomUIKeyPressed at KahluaUtil.fail line:82." Heres the code: I'm even more confused because I wrote the exact same code, but made it play a sound whenever a zombie is killed and it works perfectly fine. Here's the code that works: Any help would be appreciated!
×
×
  • Create New...