Megasware128 Posted May 7, 2016 Share Posted May 7, 2016 (edited) gtasa.js Another scripthook but this time for the javascript language for those who are interested.Currently a proof of concept but I do plan to work more on it and I love to hear your feedback and pull requests are welcome on GitHub. APIaddEventListener // function, param1 "main", param2 function game.player.position // get set { x, y, z } game.player.health // get set number game.player.armor // get set number game.player.isDriving // get boolean game.player.isArrested // get boolean game.player.isInvisible // get set boolean buggy! game.player.model // get number useless right now Installation Install Visual C++ Redistributable for Visual Studio 2015 Have a clean install of GTA: San Andreas 1.0 us Install an ASI loader (I recommend Silent's or Thirteen's) Extract the latest gtasa.js.zip to the San Andreas root Write your own javascript files to the js folder DownloadReleasesSourceCreditsLINK/2012 for the injector library DK22Pac, fastman92 and LINK/2012 for the Plugin SDK Silent and ThirteenAG for their ASI Loaders Edited March 18, 2018 by Megasware128 The_GTA, BS_BlackScout, FlyingSligGuard and 11 others 14 Link to comment Share on other sites More sharing options...
Megasware128 Posted May 11, 2016 Author Share Posted May 11, 2016 (edited) Update 2: Basic player manipulation See top post for API ↑ Will add functionality to access ped pool soon Edited May 11, 2016 by Megasware128 Link to comment Share on other sites More sharing options...
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