Announcement

Collapse
No announcement yet.

vscode - Onset Snippets

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TOOL vscode - Onset Snippets

    Onset Lua snippets for Visual Studio Code.
    Click image for larger version  Name:	awesome.PNG Views:	1 Size:	40.7 KB ID:	2633

    Github page
    Visual Studio Marketplace


    Onset functions, events and enums supported
    Click image for larger version  Name:	9f45e45c1d929d72271c680634e09a48.gif Views:	1 Size:	839.9 KB ID:	2634
    Click image for larger version  Name:	372139c84c4274acdd6ae74b23832b2e.gif Views:	1 Size:	596.8 KB ID:	2636
    Click image for larger version  Name:	6dfdc4f282da0c726b8fe663c6247400.gif Views:	1 Size:	795.3 KB ID:	2637

    MariaDB functions supported
    Click image for larger version  Name:	46948bc840c11948999b5acdc48f8d5c.gif Views:	1 Size:	1.04 MB ID:	2638

    Updates
    2019-11-18: updated for v1.8.0-alpha
    2019-11-18: updated for v1.8.0-alpha
    2019-11-23: updated for v1.8.0-alpha
    2019-12-11: updated for v1.10.0-alpha + MariaDB functions support
    2019-12-14: updated for v1.0.0
    2020-01-20: updated for v1.0.3
    2021-03-24: updated for v1.4.3
    Attached Files
    Last edited by zoukilama; 03-24-2021, 11:24 PM.

    #2
    Thank, very useful

    Comment


      #3
      You're welcome,
      the extension has just been updated for v1.8.0-alpha

      Comment


        #4
        Good stuff.

        Have you really updated the extension because the new additions and removals aren't in yet.

        Remove SetPickupVisibleForPlayers
        SetPickupVisibility, SetText3DVisibility
        SetPlayerRagdoll, SetNPCRagdoll
        HexToRGBAFloat
        SetPlayerVoiceDimension
        GetObjectStaticMeshComponent
        GetNPCSkeletalMeshComponent
        GetPickupStaticMeshComponent
        SetPlayerClothingPreset, SetNPCClothingPreset (works like the old model system in case you don't want to manually set each clothing item)
        SetPlayerOutline
        HexToRGBAFloat
        DrawTexture
        DrawTextureEx
        DrawMaterial

        Most of the stuff is documented on the wiki regarding it, if not I'll try to get it done asap.

        EDIT: Check my PR on GitHub which I'll keep updated as I get more information from Talos.
        Last edited by Logic_; 11-23-2019, 07:00 AM. Reason: Added EDIT.
        Game Developer @ Onset RP // Early Access tester // Wiki Contributor

        Comment


          #5
          Hello, the problem is that the doc was updated between 2019-11-18 and today or either some functions are not referenced on the client and/or server function pages.
          I have seen your request on github, thank you and I will do my best to keep the snippets correctly updated.

          Comment


            #6
            Been using for the past few days now, and it's super helpful to get stuff done without Alt+Tabbing back and forwards from the wiki and VSC
            Keep it up boyo, loving it!

            Comment


              #7
              Nice extension,
              I hope you'll keep it update!

              Comment


                #8
                Hello, Thank you, yes I am currently working on an update to support 1.9.0-alpha, UnrealLua and MariaDBFunctions

                Comment


                  #9
                  Hey there.

                  Love this. One minor addition if you could?

                  Could you kindly remove the space on functions when you hit enter like this:

                  GetVehiclePropertyValue( vehicle, PropertyName )

                  Could you perhaps do it this way:

                  GetVehiclePropertyValue(vehicle, PropertyName)

                  It's a tiny thing but it would save a tiny amount of time !

                  Thanks ever so much.

                  EDIT: I've noticed that some events also do the same thing e.g OnKeyPress
                  Last edited by Grant; 12-12-2019, 02:57 AM.

                  Comment


                  • Wumbaloo
                    Wumbaloo commented
                    Editing a comment
                    +1, I don't like the spaces around variables and it's taking time to remove them.

                    Maybe you can do a setting in your extension zoukilama ?

                  • zoukilama
                    zoukilama commented
                    Editing a comment
                    I'll probably do it, thank you for your suggestion

                  #10
                  No worries, thanks very kindly.

                  Comment


                    #11
                    Game just updated. Will we see an update for this soon? :P
                    Thanks for the release!

                    Comment


                      #12
                      Was on vs code went into the extensions tab and found this been using it for about a day now and it makes life alot easier good job
                      saw this post and had to give some kinda Response XD
                      It's a good day for some scripts

                      Comment


                        #13
                        Nice extension, been using this to help me learn and its amazing <3

                        Comment


                          #14
                          I comming back after long time, new update supporting Onset v1.0.3 is already deployed

                          Comment


                            #15
                            This is the best thing ever. Been using it since it was released. Such a time saver

                            Comment

                            Working...
                            X