Announcement

Collapse
No announcement yet.

problem with NPC

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    problem with NPC

    Hi, I have written this code for a Onset server but there is a bug i can't find Can someone help me to find it ? I want to spawn a NPC and interract with him.

    server.lua : https://pastebin.com/Gjhg24H4

    client.lua : https://pastebin.com/kUySDHH7

    #2
    You should probably post the error message you get.

    Comment


      #3
      As BigMistake says, tell us what the error is. I think its possibly your onPlayerJoin event though - from what I understand, that event is fired before the player has fully joined. It might be a better idea to replace this event with OnPlayerSpawn.

      Comment


        #4
        Thanks Tim, now it's working

        Comment

        Working...
        X