Get player aiming at
#6

paytas has a point. btw, script for telling you where you aim, 2d only. This is useful when you have a car spawn command
and with this you can make the car spawn right infront of you

pawn Code:
new Float:X,Float:Y,Float:Z,Float:A;
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid, A);
X += (5 * floatsin(-A, degrees));
Y += (5 * floatcos(-A, degrees));
CreateVehicle(411, X, Y, Z, 0.0, -1, -1, 600);
Reply


Messages In This Thread
Get player aiming at - by Rickk - 17.08.2009, 12:09
Re: Get player aiming at - by dice7 - 17.08.2009, 12:11
Re: Get player aiming at - by paytas - 17.08.2009, 12:23
Re: Get player aiming at - by gijsmin - 17.08.2009, 12:27
Re: Get player aiming at - by paytas - 17.08.2009, 12:28
Re: Get player aiming at - by dice7 - 17.08.2009, 12:52
Re: Get player aiming at - by Rickk - 17.08.2009, 14:57
Re: Get player aiming at - by dice7 - 17.08.2009, 20:13

Forum Jump:


Users browsing this thread: 1 Guest(s)