Search results

  1. ddyven

    how do I add a command to my mod?

    ohh alright thank you both of you 😊
  2. ddyven

    how do I add a command to my mod?

    when I try to run the mod it says there's an unexpected symbol near 'local' but I don't know what it is. I think I'm doing smth wrong here's the code I put: hook_chat_command("cmd", "syntax", local function on_"cmd"_command() function end)
  3. ddyven

    how do I add a command to my mod?

    right, so I'm starting to understand how these mods work and it seems like they're all coded in lua. However, I've seen multiple mods with commands in it and I'm trying to figure out how to create a command for my mod and make its functionality and syntax, but I can't do it by myself. anyone...