Ayuda Crash con ObjectToVehicle en LSPD. -
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?
Comando con los objetos que le pongo al vehнculo 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;
}