21.02.2010, 20:36
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)