Gaddhuve
Member
- Joined
- May 6, 2011
- Messages
- 76
- Solutions
- 1
- Reaction score
- 19
First of sorry for the lack of "coding-terms" Im just trying to learn by myself. Im just wondering how to execute a local function the best way. Atm Im running them by addEvents which Im guessing is not optimal. How I do it atm:
Any help would be great!
Code:
local function testFunction(cid)
//stuff//
end
if player then
addEvent(testFunctuin, 1)
end
end
Any help would be great!