Re: Wrong scriptQuakeR BANNED Offline 17.08.16 04:04:44 am @ Rainoth: Beacause your script you've made dosen't work always this come 1LUA ERROR : attempt to call nil value
Re: Wrong scriptRainoth Moderator Offline 17.08.16 04:17:28 am Just tested it and it works perfectly, QuakeR You'd get that error when you call a function with addhook but the function doesn't actually exist. For example if you made 123addhook("say","SAY_HOOK") but the function was called [code]function _say(id,text) TL;DR it works well if you fix the quote error that Waldin pointed out.
Re: Wrong scriptQuakeR BANNED Offline 17.08.16 04:20:17 am @ Rainoth: Ah , ok thank you then about that Your mean it already called then the write this : LUA ERROR : attempt to call nil value
Re: Wrong scriptRainoth Moderator Offline 17.08.16 04:25:28 am Yes, that's what happens. The addhook tells the computer to call x function but it doesn't exist so computer is confused and throws out an error. For more detailed explanation on lua errors refer to [GUIDE] Lua errors meanings