General > Developers Corner
Modding the ULX MOTD to have a timer.
(1/1)
FUImACat:
Hi, Im trying to prevent people from closing the ulx motd without reading it so i put a timer on it and i get this error and it doesn't seem to be working, i attached the LUA file if anyone can help, thank you!
This Is The error i get.
[ERROR] addons/ulx admin/lua/ulx/modules/cl/motdmenu.lua:10: attempt to index local 'button' (a nil value)
1. unknown - addons/ulx admin/lua/ulx/modules/cl/motdmenu.lua:10
Timer Failed! [accepttimer][@addons/ulx admin/lua/ulx/modules/cl/motdmenu.lua (line 61)]
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
[0] Board index
Go to full version