Two problems
#10

pawn Код:
forward Float:GetXYBehindCar(vid, &Float:q, &Float:w, Float:distance);
Float:GetXYBehindCar(vid, &Float:q, &Float:w, Float:distance)
{
    new Float:a;
    GetVehiclePos(vid, q, w, a);
    GetVehicleZAngle(vid, a);
    q += (distance * -floatsin(-a, degrees));
    w += (distance * -floatcos(-a, degrees));
    return a;
}
Reply


Messages In This Thread
Two problems - by Lajko1 - 12.03.2014, 18:56
Re: Two problems - by Matess - 12.03.2014, 19:02
Re: Two problems - by Lajko1 - 12.03.2014, 19:03
Re: Two problems - by Matess - 12.03.2014, 19:12
Re: Two problems - by radyx - 12.03.2014, 19:16
Re: Two problems - by Lajko1 - 12.03.2014, 19:50
Re: Two problems - by Matess - 12.03.2014, 19:58
Re: Two problems - by Lajko1 - 12.03.2014, 20:12
Re: Two problems - by radyx - 12.03.2014, 20:47
Re: Two problems - by Lajko1 - 12.03.2014, 21:33

Forum Jump:


Users browsing this thread: 2 Guest(s)