24.08.2010, 13:26
(
Последний раз редактировалось CoaPsyFactor; 24.08.2010 в 13:43.
)
pawn Код:
stock GetVehicleTrailerPos(vehicleid, trailerid, &Float:x, &Float:y, &Float:z){
if(IsTrailerAttachedToVehicle(vehicleid)){
if(GetVehicleTrailer(vehicleid) == trailerid){
GetVehiclePos(trailerid, x, y, z);
return 1;
}else{
return 0;
}
}else{
return 0;
}
}