Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't undertsand about how imports works #52

Open
ammartalpur opened this issue Sep 10, 2021 · 4 comments
Open

Can't undertsand about how imports works #52

ammartalpur opened this issue Sep 10, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@ammartalpur
Copy link

I have learned Typescript, but when I tried to learn scripting basics by seeing your example resources, I can't understand why you imports and what I have to import.

I have a request to make a Youtube video on how to script mta sa using typescript Or make a big documentation on it.

@ammartalpur ammartalpur added the enhancement New feature or request label Sep 10, 2021
@Toliak
Copy link
Member

Toliak commented Sep 10, 2021

You can import:

  • your own exported declarations
  • types from mtasa-lua-types module

In my plans: to make a live-coding video where I will write a two resources with simple purpose

@ammartalpur
Copy link
Author

ok waiting for your video

@ammartalpur
Copy link
Author

Well Sorry for that. I suggest to make a tutorial on basic understanding so that we can make scripts by our self

@Toliak
Copy link
Member

Toliak commented Sep 20, 2021

Basic understanding can be received from MTASA wiki and Lua coding. In general, when we are talking about typescript, I expect that you familiar with Lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants