13.08.2011, 03:10
I posted how to find the vehicle below the magnet but yea you can add that 
if anyone needs a base/start look here
also has anyone tested this with the helicopter to see what would happen?
AttachTrailerToVehicle(...)

if anyone needs a base/start look here
pawn Код:
CMD:testex(playerid, params[])
{//explosion area
new Float: Pos[6], Float:a, vehicleid = GetPlayerVehicleID(playerid);
GetVehicleZAngle(vehicleid, a);
GetVehicleSize(GetVehicleModel(vehicleid), Pos[3], Pos[4], Pos[5]);
GetVehiclePos(vehicleid, Pos[0], Pos[1], Pos[2]);
CreateExplosion(Pos[0], Pos[1], Pos[2] + 0.5 * Pos[5], 12, 1.0);
new Float:Vehicleroofzpositionforidiots = Pos[2] + 0.5 * Pos[5];
#pragma unused Vehicleroofzpositionforidiots
SetVehicleHealth(vehicleid, 1000.0);
return 1;
}
AttachTrailerToVehicle(...)