Hello.
I'm trying to make a new mod for tfs 0.3.5 but when executing a part of the code I get "[14/08/2009 14:49:48] [string "loadBuffer"]:29: attempt to call global 'isPlayerNamelocked' (a nil value)".
The part of the code is:
Anyone knows how to fix this? Thanks in advance.
I'm trying to make a new mod for tfs 0.3.5 but when executing a part of the code I get "[14/08/2009 14:49:48] [string "loadBuffer"]:29: attempt to call global 'isPlayerNamelocked' (a nil value)".
The part of the code is:
Lua:
local target = getCreatureByName(t[1])
if not isPlayerNamelocked(getCreatureName(target)) then
Anyone knows how to fix this? Thanks in advance.