[Help] New GetXYZInFrontOfPlayer
#2

Why are you using GetPlayerVelocity? You would use GetPlayerPos to return their coordinates.

And you would need to adjust the following lines to detect the position to the left/right instead of the position in front of the player (I just don't know how to change it )
pawn Код:
x += (distance * floatsin(-a, degrees));
y += (distance * floatcos(-a, degrees));
Reply


Messages In This Thread
[Help] New GetXYZInFrontOfPlayer - by Bogdanovic - 24.10.2010, 17:22
Re: [Help] New GetXYZInFrontOfPlayer - by Grim_ - 24.10.2010, 17:25
Re: [Help] New GetXYZInFrontOfPlayer - by Bogdanovic - 24.10.2010, 17:37
Re: [Help] New GetXYZInFrontOfPlayer - by Mauzen - 24.10.2010, 18:48
Re: [Help] New GetXYZInFrontOfPlayer - by Bogdanovic - 24.10.2010, 19:00
Re: [Help] New GetXYZInFrontOfPlayer - by Bogdanovic - 24.10.2010, 19:55
Re: [Help] New GetXYZInFrontOfPlayer - by Hiddos - 24.10.2010, 20:01
Re: [Help] New GetXYZInFrontOfPlayer - by Bogdanovic - 24.10.2010, 20:37
Re: [Help] New GetXYZInFrontOfPlayer - by Bogdanovic - 24.10.2010, 20:54
Re: [Help] New GetXYZInFrontOfPlayer - by Mauzen - 24.10.2010, 22:33

Forum Jump:


Users browsing this thread: 2 Guest(s)