26.03.2013, 14:29
Hello, I have tried for countless hours to figure out, How can i make an explosion where the "Player" is facing. It only uses the Y angle, but never places the explosion where the player is facing.
Код:
CMD:airstrike(playerid, params[])
{
new Float:x, Float:y, Float:z, Float:Angle;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, Angle);
SendClientMessage(playerid, COLOR_TAN, "Air Control: An airstrike is being sent 50 Meters within your Co-Ords");
CreateExplosion(x, y+50, z, 7, 100.0);
}


