• Refreshing ents
    4 replies, posted
Is there a way to have entities refresh themselves after a set period of time? (Sorry I'm a noob at lua) Thanks.
Define refresh. What does it entitle?
[QUOTE=Aide;48357511]Define refresh. What does it entitle?[/QUOTE] as in, every x amount of seconds, the code for it will refresh. i currently have a code to have a entity change color randomly, but it only works once when the server starts.
You could use a hook like tick or think. Or you could use a timer.
[QUOTE=Aide;48357627]You could use a hook like tick or think. Or you could use a timer.[/QUOTE] do you think you can provide an example of how to do it in think? Thanks.
Sorry, you need to Log In to post a reply to this thread.