Jump to content

Traffic lights objects


Kenix

Recommended Posts

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 post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...