Page 1 of 1

Crash on lua function assignment

Posted: Sat Mar 25, 2017 8:42 pm
by Unique_Pineapple
My multiplayer server crashes when the following commands are typed:

Code: Select all

/c p = game.player.print

Code: Select all

/c p(1234)

Re: Crash on lua function assignment

Posted: Sat Mar 25, 2017 8:49 pm
by posila
It is known issue, but it is unlikely to be fixed. I am sorry.

If you want to print to all players easily, you can use

Code: Select all

game.print()
Duplicate: 5638

Re: Crash on lua function assignment

Posted: Sat Mar 25, 2017 9:09 pm
by Unique_Pineapple
Alright, thanks. I also found a fix using the following code:

Code: Select all

/c function p(s) game.player.print(s) end