snepel Posted January 16, 2013 Share Posted January 16, 2013 Hi im a proud to be a thing from MTASA community im new in scripting LUA and need help I have a Intro, Login and a Team choser script... now i will loard First that intro, after the intro will show the loginscript and after sucsfull Login i will show the Team choser... My Question is... What must is script that not load all to the same time...? i hope u understand me =) i dont know what i must search in the MTA wiki... Link to comment
csiguusz Posted January 16, 2013 Share Posted January 16, 2013 You can use setTimer to delay things, but you may need something else for this, especially for the login thing: To show something after the succesful login just run a function that opens the team panel. -- your script... if login == "succesful" then openTeams() end function openTeams() -- your team chooser end Link to comment
snepel Posted January 16, 2013 Author Share Posted January 16, 2013 thx very mutch that is what i need thumb up! Link to comment
Anderl Posted January 16, 2013 Share Posted January 16, 2013 You can also use events instead of functions. 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