30.04.2011, 11:24
(
Последний раз редактировалось Lorenc_; 01.05.2011 в 10:00.
)
Hai, i tried several times with a player to try get this object to move where the player is facing, not where hes camera is facing.
Just like when someone types /air there will be a hugeass plane going past him though im wanting the plane to fly towards where he faces (THE PLAYER once again not the Players Camera)
If anyone knows how to do this, me and a friend tried, failed for us
Edit:
To Example Completely
Well i want the plane in the code to basicly face and fly the way the players angle
Just like when someone types /air there will be a hugeass plane going past him though im wanting the plane to fly towards where he faces (THE PLAYER once again not the Players Camera)
If anyone knows how to do this, me and a friend tried, failed for us

pawn Код:
gPlayerData[playerid][E_AIRSTRIKE_AROMANDA] = CreateObject(14553,pos[0]-60, pos[1],pos[2]+80,0, 0, 90);
MoveObject(gPlayerData[playerid][E_AIRSTRIKE_AROMANDA], pos[0] + 260, pos[1], pos[2] + 80, 30);
To Example Completely
Well i want the plane in the code to basicly face and fly the way the players angle