Sign in to follow this  
KariiiM

Defining an export

Recommended Posts

Hey guys,

i tried my own ways to define the export to set for it timer, i have no idea if it's possible ,thats why im asking maybe someone of you have an idea

here's the example:

local myMessage = exports.msg:message("Let's try this way",source,255,255,0) 
setTimer(myMessage,23000,1,source) 

it returns false with errors.

~Regards

Share this post


Link to post
  
setTimer(function() 
   exports.msg:message("Let's try this way",source,255,255,0) 
end,23000,1) 

Edited by Guest

Share this post


Link to post
local myMessage = exports.msg:message 
setTimer(myMessage,23000,1,"Let's try this way",source,255,255,0) 

That should work.

  • Like 1

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.