The Pharaon Posted September 9, 2020 Share Posted September 9, 2020 HI everyone, I am a newbie in LUA, I don't know a thing about it apart of the fact I can read it, I am not able to code something properly. I used the 2017 tutorial video which I can follow easily and replicate what's done in it I read the F1 page in game and the list of LUA codex in the forum. I've been searching for a while. My 1st question is : I will call Manual Interruptors slots MU to simplify.if MU1 and MU2 are activated then MU3 activates if MU3 is activated then screen.setCenteredText("Hello Test") How can I write this correctly. I can't figure out the If, and, then correctly. Even looking at tutorial i can't figure it out. ***************************************************** Second question (a Detection Zone slot is named DZ to simplify) : How to retrieve my ID and someone else's with "database.getPlayer(ID).name" ? How to call it correctly in my slot on my Detection Zone So, I would like :if ID enters DZ then screen.SetCenteredText("Test enter") Thank you for your help Link to comment Share on other sites More sharing options...
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