23.01.2010, 17:00
I made this:
But haven't tested it yet. what do you think, will this work?
pawn Код:
if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
{
if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
{
new Trailer = GetVehicleTrailer(GetPlayerVehicleID(playerid));
SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
AttachTrailerToVehicle(Trailer, GetPlayerVehicleID(playerid));
}
}