Spawn cars always in front of player, no matter what direction.
#3

pawn Код:
new Float:Angle;
GetPlayerFacingAngle(playerid, Angle);
new SpawnedVeh = CreateVehicle(VehicleToSpawn, x + 3 * floatsin(-Angle, degrees), y + 3 * floatcos(-Angle, degrees), z, Angle, 0, 0, 99999999999999999999999999999);
Reply


Messages In This Thread
Spawn cars always in front of player, no matter what direction. - by Robbin237 - 18.04.2009, 08:11
Re: Spawn cars always in front of player, no matter what direction. - by Rks25 - 18.04.2009, 09:31
Re: Spawn cars always in front of player, no matter what direction. - by yom - 18.04.2009, 09:43

Forum Jump:


Users browsing this thread: 1 Guest(s)