17.08.2009, 12:52
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
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);