Kenix Posted September 21, 2016 Share Posted September 21, 2016 This is maybe a stupid question but maybe some one have a traffic objects map? or where it can be parsed? I have checkout an IDE, IPL files from original GTA:SA game, but i didn't found where it can be defined (dynamic traffic object with positon and rotation, i guess it maybe stored in gta3.img, right?). local aObjectIDs = { 3855; -- GAY_TRAFFIC_LIGHT 1262; -- MTraffic4 mitraffic 1263; -- MTraffic3 mitraffic 1283; -- MTraffic1 mitraffic 1284; -- MTraffic2 mitraffic 1315; -- trafficlight1 1350; -- CJ_TRAFFIC_LIGHT4 CJ_traffic 1351; -- CJ_TRAFFIC_LIGHT5 CJ_traffic 1352; -- CJ_TRAFFIC_LIGHT3 CJ_traffic }; I want to make a workaround to fix this issue: https://bugs.mtasa.com/view.php?id=9387 I Need check if vehicle near the traffic object and get object rotation. Link to comment
denny199 Posted September 22, 2016 Share Posted September 22, 2016 I remember that vehicle nodes has all those data if i'm right. Check out crystalmv's his NPC HLC Traffic script: http://crystalmv.net84.net/pages/scripts.php 1 Link to comment
Kenix Posted September 22, 2016 Author Share Posted September 22, 2016 (edited) Okay, i will parse it. Edited September 22, 2016 by Kenix Link to comment
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