Zikablood Posted August 18, 2020 Share Posted August 18, 2020 how do I make a marker teleport script only with a password or gruop acl? Link to comment
Scripting Moderators xLive Posted August 18, 2020 Scripting Moderators Share Posted August 18, 2020 Add a if statement and check before teleporting? for acl permission hasObjectPermissionTo if password depending how you want the player to enter the password GUI,command etc Link to comment
Zikablood Posted August 19, 2020 Author Share Posted August 19, 2020 10 hours ago, xLive said: Adicione uma declaração if e verifique antes de teletransportar? para permissão acl se a senha, dependendo de como você deseja que o jogador insira a senha GUI, comando etc. the problem is that i don't know anything about programming, i'm better at mapping than programming so i don't know how to create a gui and etc. Link to comment
Moderators IIYAMA Posted August 19, 2020 Moderators Share Posted August 19, 2020 (edited) 1 hour ago, Zikablood said: the problem is that i don't know anything about programming, i'm better at mapping than programming so i don't know how to create a gui and etc. Then you first need to learn Lua. After that you need to learn a little bit from MTA scripting. (where to find stuff, how to read syntax, what is an element?) And when know the basics from both worlds, it would be the right moment to ask these kind of global questions. Sure, it is fine to ask these questions in your current programming state, but will not be very educational for yourself. Edited August 19, 2020 by IIYAMA Link to comment
Zikablood Posted August 19, 2020 Author Share Posted August 19, 2020 7 hours ago, IIYAMA said: Então, primeiro você precisa aprender Lua. Depois disso, você precisa aprender um pouco com os scripts do MTA. (onde encontrar coisas, como ler a sintaxe, o que é um elemento?) E quando souber o básico dos dois mundos, será o momento certo para fazer esse tipo de perguntas globais. Claro, é bom fazer essas perguntas em seu estado de programação atual, mas não será muito educativo para você. thank you I will give a "way" to learn 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