SA-MP Forums Archive
Putting Many objects together making it ONE object? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Putting Many objects together making it ONE object? (/showthread.php?tid=381450)



Putting Many objects together making it ONE object? - ShawtyyMacJunior - 29.09.2012

Ive made an object out of many to act as one object. Is there anyway to make it all ONE object instead of seperate ones?

Objects :

Код:
CreateObject(1270,766.70001221,-48.79999924,1000.59997559,90.00000000,90.00000000,0.00000000); //object(parkingmeterg) (1)
	CreateObject(1943,766.90002441,-48.79999924,1000.59997559,0.00000000,0.00000000,90.00000000); //object(kg20) (1)
	CreateObject(1943,767.00000000,-48.79999924,1000.59997559,0.00000000,0.00000000,90.00000000); //object(kg20) (2)
	CreateObject(1943,765.70001221,-48.79999924,1000.59997559,0.00000000,0.00000000,90.00000000); //object(kg20) (3)
	CreateObject(1943,765.59997559,-48.79999924,1000.59997559,0.00000000,0.00000000,90.00000000); //object(kg20) (4)
	CreateObject(1270,765.90002441,-48.79999924,1000.59997559,90.00000000,90.00000000,180.00000000); //object(parkingmeterg) (2)



Re: Putting Many objects together making it ONE object? - [HK]Ryder[AN] - 29.09.2012

No..Because theres isnt such a function(until now atleast)
nor can you convert those objects into one


Re: Putting Many objects together making it ONE object? - Vince - 29.09.2012

Yes, just use AttachObjectToObject. Then move the parent object.