Author Topic: script bugged  (Read 514 times)

F.

  • Forum User
  • ****
  • Posts: 12
    • View Profile
script bugged
« on: April 15, 2020, 05:50:39 PM »
Hello.I just uploaded my script and it got bugged.It doesn't show join message and many other important messages+skins got disappeared.Anyone help me out pls what exactly happened.


when I do dofile ( "scripts/commands.nut" ); , it bugs the whole script.Any soul?

Anish87

  • Forum User
  • ****
  • Posts: 27
    • View Profile
Re: script bugged
« Reply #1 on: April 15, 2020, 06:01:14 PM »
Where are you pasting
Code: [Select]
dofile("scripts/commands.nut");?
If pasting it in function onScriptLoad()
Then try :
Code: [Select]
dofile("scripts/commands.nut", true);
Also if you provide the screenshot of error logs it would be great.


And this is not the correct board to post this...

F.

  • Forum User
  • ****
  • Posts: 12
    • View Profile
Re: script bugged
« Reply #2 on: April 17, 2020, 09:09:43 AM »
Where are you pasting
Code: [Select]
dofile("scripts/commands.nut");?
If pasting it in function onScriptLoad()
Then try :
Code: [Select]
dofile("scripts/commands.nut", true);
Also if you provide the screenshot of error logs it would be great.


And this is not the correct board to post this...
It got solved.There was a 108 line prblm which I didnt notice and Spiller and Gito helped me.Btw,I wanted to ask another thing,I uploaded skins to my server cirrectly but I don't see them in the spawn screen.How do I it?

Anish87

  • Forum User
  • ****
  • Posts: 27
    • View Profile
Re: script bugged
« Reply #3 on: April 17, 2020, 10:32:59 AM »
You need to add them in function onPlayerJoin and onPlayerRequestSpawn function... Go throught the http://wiki.thijn.ovh/ searc "AddClass" there.

F.

  • Forum User
  • ****
  • Posts: 12
    • View Profile
Re: script bugged
« Reply #4 on: April 17, 2020, 03:14:35 PM »
You need to add them in function onPlayerJoin and onPlayerRequestSpawn function... Go throught the http://wiki.thijn.ovh/ searc "AddClass" there.
Thanks can u find out the problem like if I banned you and you rejoin the server,you're unbanned.
« Last Edit: April 17, 2020, 03:19:11 PM by F. »

Anish87

  • Forum User
  • ****
  • Posts: 27
    • View Profile
Re: script bugged
« Reply #5 on: April 17, 2020, 08:43:40 PM »
Message me on discord.
Discord ID - Anish87#9068