_DrXenon Posted June 24, 2014 Share Posted June 24, 2014 Well i was wondering, How to trigger an exported function with a timer D: I mean : setTimer(exports.scriptName:makeSomething,1000,1,arguement) or what?! as this one up here ^^ Didn't work. And i tried some other formats D: which didn't also work D: Thanks for reading. HELPZ! Link to comment
cheez3d Posted June 24, 2014 Share Posted June 24, 2014 local Function = exports.scriptName:makeSomething; setTimer(Function,1000,1,Argument); Try this. Link to comment
cheez3d Posted June 24, 2014 Share Posted June 24, 2014 Or you could use the call function: setTimer(call,1000,1,scriptName,"makeSomething",Argument); Link to comment
_DrXenon Posted June 24, 2014 Author Share Posted June 24, 2014 u sure..? as nothing is happening Link to comment
cheez3d Posted June 24, 2014 Share Posted June 24, 2014 Tell me the exact resource name and function name. Link to comment
_DrXenon Posted June 24, 2014 Author Share Posted June 24, 2014 exports.dxscoreboard:scoreboardAddColumn("Column") Link to comment
cheez3d Posted June 24, 2014 Share Posted June 24, 2014 setTimer(call,1000,1,getResourceFromName("dxscoreboard"),"scoreboardAddColumn","Column"); Link to comment
_DrXenon Posted June 24, 2014 Author Share Posted June 24, 2014 I did the same... Anyway.. Can u check it , if it works for ya D: Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now