Jump to content

Asokanta

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Asokanta

  1. As title says, I allowed both but only port 22006 looks open. when I try to connect to my server, client crashes in "validating server assets" after creating a folder in client_resources.
  2. Hello there, currently I'm developing my own gamemode and need some help with testing. If you'd like to contribute to the project add me on discord. Asokanta#9451
  3. public void TriggerHelloWorld(Player sender) I simplified that way so people can focus on error rather than code. I'm trying to understand why I'm getting that error.
  4. Hey, I'm trying to add a custom event but getting "Object reference not set to an instance of an object" error instead. Exception details: [ServerEvent(Event.ResourceStart)] public void OnResourceStart() { Events.Add("sendhelloworld", SendHelloWorld); } private void SendHelloWorld(object[] args) { NAPI.Util.ConsoleOutput("Hello world."); } [Command("hey")] public void TriggerHelloWorld(Player sender) { Events.CallLocal("sendhelloworld", sender); }
×
×
  • Create New...