zippymccrackin Posted February 8, 2015 Posted February 8, 2015 I would like to know what the best method of keeping some settings when changing maps on LUA such as weapons grabbed and health, since World:Clear() seems to remove any script on an entity. I know I could do globals in App.lua but that seems like such horrible practice. Quote
josk Posted February 8, 2015 Posted February 8, 2015 You could write your variables to a file and then read them back in. Quote Elite Cobra Squad
Rick Posted February 8, 2015 Posted February 8, 2015 This might help https://www.youtube.com/watch?v=5WmwNyTlbZE Just make sure you aren't in sandbox mode or you'll get an error. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.