Objects don't display
#1

I running a samp server on 0.3.7 version and those items don't displaied on the game.
Objects id's: 19286,19287,19288,19289.
Reply
#2

Код:
	if(GetVehicleModel(vehid) == 579)
					{
							if(!lempos4[vehid][c_Attached10])
                        {
                            lempos4[vehid][l10] = CreateObject(19285,0.894999, 2.100000, 0.170000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l11] = CreateObject(19285,-0.609999, 2.115000, 0.000000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l12] = CreateObject(19286,-0.290000, -2.380007, 0.000000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l13] = CreateObject(19286,0.744999, -2.585011, 0.000000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l14] = CreateObject(19288,0.639999, 2.435008, 0.000000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l15] = CreateObject(19288,-1.009999, 2.435008, 0.000000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l16] = CreateObject(19286,0.639999, 2.435008, 0.000000, 0.000000, 0.000000, 0.000000);// reikiatest
                            lempos4[vehid][l17] = CreateObject(19286, -1.009999, 2.435008, 0.000000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l18] = CreateObject(19288,0.639999, -2.585011, 0.000000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l19] = CreateObject(19288,-1.009999, -2.380007, 0.000000, 0.000000, 0.000000, 0.000000);
                            lempos4[vehid][l20] = CreateObject(19797,-0.539999, 0.294999, 0.999999, -173.865066, 0.000000, 0.000000);
                            lempos4[vehid][l21] = CreateObject(19797, 0.639999, 0.294999, 0.999999, -173.865066, 0.000000, 0.000000);
                            lempos4[vehid][l22] = CreateObject(19797,0.429999, 2.400007, 0.100000, -173.865066, 0.000000, 0.000000);
                            lempos4[vehid][l23] = CreateObject(19797,-0.469999, 2.400007, 0.100000, -173.865066, 180.900100, -1.005000);
                            lempos4[vehid][l24] = CreateObject(19797,-0.614999, -2.457008, 0.974999, -0.000000, 180.900100, -1.005000);
                            lempos4[vehid][l25] = CreateObject(19797,0.604999, -2.457008, 0.974999, -0.000000, 180.900100, -1.005000);
                            lempos4[vehid][c_Attached10] = true;
                            AttachObjectToVehicle(lempos4[vehid][l10], vehid, 0.894999, 2.100000, 0.170000, 0.000000, 0.000000, 0.000000); //Object Model: 19285 |  lemposhuntliui
                            AttachObjectToVehicle(lempos4[vehid][l11], vehid, -0.609999, 2.115000, 0.000000, 0.000000, 0.000000, 0.000000); //Object Model: 19285 |  lemposhuntliui2
                            AttachObjectToVehicle(lempos4[vehid][l12], vehid, -0.290000, -2.380007, 0.000000, 0.000000, 0.000000, 0.000000); //Object Model: 19286 |  huntliuiraudonos1
                            AttachObjectToVehicle(lempos4[vehid][l13], vehid, 0.744999, -2.585011, 0.000000, 0.000000, 0.000000, 0.000000); //Object Model: 19286 |  huntliuiantraraudonagera
                            AttachObjectToVehicle(lempos4[vehid][l14], vehid, 0.639999, 2.435008, 0.000000, 0.000000, 0.000000, 0.000000); //Object Model: 19288 |  melinahuntliui
                            AttachObjectToVehicle(lempos4[vehid][l15], vehid, -1.009999, 2.435008, 0.000000, 0.000000, 0.000000, 0.000000); //Object Model: 19288 |  huntliumelinaantra
							AttachObjectToVehicle(lempos4[vehid][l16], vehid, 0.639999, 2.435008, 0.000000, 0.000000, 0.000000, 0.000000);
                            AttachObjectToVehicle(lempos4[vehid][l17], vehid, -1.009999, 2.435008, 0.000000, 0.000000, 0.000000, 0.000000);
                            AttachObjectToVehicle(lempos4[vehid][l18], vehid,0.639999, -2.585011, 0.000000, 0.000000, 0.000000, 0.000000);
 							AttachObjectToVehicle(lempos4[vehid][l19], vehid, -1.009999, -2.380007, 0.000000, 0.000000, 0.000000, 0.000000);
 							AttachObjectToVehicle(lempos4[vehid][l20], vehid, -0.539999, 0.294999, 0.999999, -173.865066, 0.000000, 0.000000); //Object Model: 19288 |  melinahuntliui
                            AttachObjectToVehicle(lempos4[vehid][l21], vehid,  0.639999, 0.294999, 0.999999, -173.865066, 0.000000, 0.000000); //Object Model: 19288 |  huntliumelinaantra
							AttachObjectToVehicle(lempos4[vehid][l22], vehid, 0.429999, 2.400007, 0.100000, -173.865066, 0.000000, 0.000000);
                            AttachObjectToVehicle(lempos4[vehid][l23], vehid, -0.469999, 2.400007, 0.100000, -173.865066, 180.900100, -1.005000);
                            AttachObjectToVehicle(lempos4[vehid][l24], vehid,-0.614999, -2.457008, 0.974999, -0.000000, 180.900100, -1.005000);
 							AttachObjectToVehicle(lempos4[vehid][l25], vehid, 0.604999, -2.457008, 0.974999, -0.000000, 180.900100, -1.005000);

                        } else {

                            DestroyObject(lempos4[vehid][l10]);
                             DestroyObject(lempos4[vehid][l11]);
                             DestroyObject(lempos4[vehid][l12]);
                             DestroyObject(lempos4[vehid][l13]);
                             DestroyObject(lempos4[vehid][l14]);
                             DestroyObject(lempos4[vehid][l15]);
                             DestroyObject(lempos4[vehid][l16]);
                             DestroyObject(lempos4[vehid][l17]);
                             DestroyObject(lempos4[vehid][l18]);
                             DestroyObject(lempos4[vehid][l19]);
                             DestroyObject(lempos4[vehid][l20]);
                             DestroyObject(lempos4[vehid][l21]);
                             DestroyObject(lempos4[vehid][l22]);
                             DestroyObject(lempos4[vehid][l23]);
                             DestroyObject(lempos4[vehid][l24]);
                             DestroyObject(lempos4[vehid][l25]);
                           lempos4[vehid][c_Attached10] = false;
                        }}//
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)