SA-MP Forums Archive
Changed to SA:MP - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Changed to SA:MP (/showthread.php?tid=129356)



Changed to SA:MP - Hot - 21.02.2010

Hi! I have changed to SA:MP, and i have this piece of lua code. It's a moving tram. But w to make a OBJECT GROUP, like i did in my lua code?

Code:
	TheTram = CreateObject(3095, 196.21484375, 474.5830078125, 23.319820404053, 0, 0, 0)		
	tram2 = createObject (3095, 196.21484375, 474.5830078125, 26.444814682007, 0, 0, 0)
	attachElements (tram2, TheTram, 0, 0, 3.124994277954 )		
	tram3 = createObject (3585, 196.2041015625, 477.51184082031, 24.90506362915, 0, 0, 180)
	attachElements (tram3, TheTram, -0.0107421875, 2.92883300781, 1.585243225097, 0, 0, 180)		
	tram4 = createObject (3585, 196.20457458496, 472.01220703125, 24.90506362915, 0, 0, 0)



Re: Changed to SA:MP - Finn - 21.02.2010

Hi! You made a smart move.

Try YSI, I believe it has those object-groups in the object streamer.