ULX

Author Topic: Modding the ULX MOTD to have a timer.  (Read 1752 times)

0 Members and 1 Guest are viewing this topic.

Offline FUImACat

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Modding the ULX MOTD to have a timer.
« on: January 16, 2017, 11:00:24 PM »
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)]
« Last Edit: January 16, 2017, 11:04:20 PM by FUImACat »

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given