Jump to content

how do I do that?


Zikablood

Recommended Posts

  • Scripting Moderators

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
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
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 by IIYAMA
Link to comment
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...