Placing an object in front of pickup
#2

I also had that problem. Thing is referring to Trigonometric Circle 0 degrees are on left and in SA-MP 0 degrees in when facing south.
SO something that should work is:
pawn Код:
x += (2.0 * floatsin((-rz-90), degrees));
y -= (1.0 * floatcos((-rz-90), degrees));
If it doesn't work, try with +90.
Reply


Messages In This Thread
Placing an object in front of pickup - by PaulDinam - 27.02.2013, 10:02
Re: Placing an object in front of pickup - by [MG]Dimi - 27.02.2013, 10:09
Re: Placing an object in front of pickup - by PaulDinam - 27.02.2013, 10:24

Forum Jump:


Users browsing this thread: 1 Guest(s)