Jump to content
alt:V Multiplayer Forum
Stuyk

alt:V - Javascript Auto Complete

Recommended Posts

Well there comes a time when its just much easier to work with Typescript. However, for those of us who don't always use Typescript and don't want to compile down our resources. This solution allows for automatic conversion of various alt features into an easy to use auto-complete interface. Similar to how intellisense works.

This only works on VS CODE (Visual Studio Code).

VERY IMPORTANT

When you're importing 'alt' and 'natives' please use only the following methods:

import * as alt from 'alt';
import * as native from 'natives';

After press enter on the selection of your auto-fill; it will automatically default to alt. or native.

How to install or this link

How to Use (Type any of the Following):

server_

client_

native_

player_

vehicle_

weather

pos_

chat_

weapon_

  • Like 8

Share this post


Link to post
Share on other sites

Thanks, but can you add this addon to Node.js? npm or something? i do not use VSCode, i do use PyCharm 😚

Share this post


Link to post
Share on other sites
7 hours ago, Yeiij said:

Thanks, but can you add this addon to Node.js? npm or something? i do not use VSCode, i do use PyCharm 😚

Unfortunately this package is built using VSCode extension API. Feel free to use whatever text editor and port it to that one.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...