Iblop
New Member
- Joined
- Dec 24, 2010
- Messages
- 15
- Reaction score
- 1
I have a simple lua code (a talkaction) and I need to make this code execute another code
Sample1.lua:
Sample2.lua
How can I make it?
Sample1.lua:
Code:
...
local test = Hello
if math.random(1,100) <= 33 then
--here the function that execute Sample2.lua
end
...
Sample2.lua
Code:
doCreatureSay(cid, test, 2)
How can I make it?