Quote:
Originally Posted by OTACON
pawn Код:
new Float:pos[3][3], Float:distance = 10.0; GetPlayerCameraPos(playerid, pos[0][0], pos[0][1], pos[0][2]); GetPlayerCameraFrontVector(playerid, pos[1][0], pos[1][1], pos[1][2]); pos[2][0] = pos[0][0] - floatmul(pos[1][0], distance); pos[2][1] = pos[0][1] - floatmul(pos[1][1], distance); pos[2][2] = pos[0][2] - floatmul(pos[1][2], distance); SetPlayerCameraPos(playerid, pos[2][0], pos[2][1], pos[2][2]); SetPlayerCameraLookAt(playerid, pos[2][0], pos[2][1], pos[2][2]);
|
Estб bien, pero en movimiento no se puede? D: