Get back of player
#8

Back of the player? get players facing angle, calculate a position with opposite of that with a 1 meter relative pos, it's literally one sin/cos away from you -_- (For sa-mp tho you'd need to use the angle itself)
Here's another hint, relative pos*sin + x, relativepos*cos + y

Thats as much help I can provide without literally giving you the code, if you can't write that ^ in pawn you need to learn more about pawn.



@Nero When calculating infront of something or behind it is usually 2D and sometimes a Z finder, hence it'd turn into a point relative to another point, that makes it too complicated.
Reply


Messages In This Thread
Get back of player - by MerryDeer - 10.09.2016, 17:44
Re: Get back of player - by Nero_3D - 10.09.2016, 18:01
Re: Get back of player - by MerryDeer - 10.09.2016, 18:19
Re: Get back of player - by Nero_3D - 10.09.2016, 18:55
Re: Get back of player - by MerryDeer - 10.09.2016, 19:02
Re: Get back of player - by Nero_3D - 10.09.2016, 20:14
Re: Get back of player - by MerryDeer - 11.09.2016, 06:16
Re: Get back of player - by PrO.GameR - 11.09.2016, 08:34
Re: Get back of player - by MerryDeer - 11.09.2016, 09:19
Re: Get back of player - by Nero_3D - 11.09.2016, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)