sirakx
Member
- Joined
- Feb 23, 2015
- Messages
- 51
- Solutions
- 1
- Reaction score
- 8
Hello I have a question on how to do this:
I've been doing differently, but I did not come out correctly.
This is the error I get:
events.lua:28: attempt to call local 'config.start' (a nil value)
someone help me please?
Code:
function doStartFunction()
print("hola")
return true
end
local config = {
start = doStartFunction
}
funtion onUse(cid)
config.start()
end
I've been doing differently, but I did not come out correctly.
This is the error I get:
events.lua:28: attempt to call local 'config.start' (a nil value)
someone help me please?