SA-MP Forums Archive
Ayuda Crash con ObjectToVehicle en LSPD. - 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: Ayuda Crash con ObjectToVehicle en LSPD. (/showthread.php?tid=658367)



Ayuda Crash con ObjectToVehicle en LSPD. - Mamoru - 02.09.2018

Hola, alguien sabe porque podrнa ser el crash cuando le pongo objetos a un vehнculo y voy por LSPD?
•Hello, does anyone know why it could be the crash when I put objects in a vehicle and go through LSPD?

Video de y0utub3.

https://www.youtube.com/watch?v=g0OF3FO2Wwk

https://www.y0utub3.com/watch?v=g0OF3FO2Wwk


y0utub3: /watch?v=g0OF3FO2Wwk


Imagen del crash:
•Crash image:




Comando con los objetos que le pongo al vehнculo ID: 474 (Hermes).
•Command with the objects that I put to the vehicle ID: 474 (Hermes).

pawn Код:
CMD:mio(playerid, params[])
{
    ObjectVeh[0] = CreateDynamicObject(1006, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000);
    ObjectVeh[1] = CreateDynamicObject(1023, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000);
    ObjectVeh[2] = CreateDynamicObject(1105, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000);
    ObjectVeh[3] = CreateDynamicObject(1105, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000);

    AttachDynamicObjectToVehicle(ObjectVeh[0], GetPlayerVehicleID(playerid), 0.000000, 0.000000, 0.789999, 0.000000, 0.000000, 0.000000); //Object Model: 1006 |
    AttachDynamicObjectToVehicle(ObjectVeh[1], GetPlayerVehicleID(playerid), 0.000000, -2.690014, 0.199999, 0.000000, 0.000000, 0.000000); //Object Model: 1023 |
    AttachDynamicObjectToVehicle(ObjectVeh[2], GetPlayerVehicleID(playerid), -0.589999, -1.849998, -0.574999, 0.000000, 0.000000, 0.000000); //Object Model: 1105 |
    AttachDynamicObjectToVehicle(ObjectVeh[3], GetPlayerVehicleID(playerid), 0.589999,  -1.849998, -0.574999, 0.000000, 0.000000, 0.000000); //Object Model: 1105 |
    return 1;
}


PD: How to share videos?

••Sorry for the bad English, I'm using a translator.••