13.01.2014, 02:15
Al parecer SetPlayerCameraPos y SetPlayerCameraLookAt no funcionan exactamente despuйs de que usas TogglePlayerSpectating, usй un timer de 10 ms y si funcionу.
Probablemente haya un fix para eso...
pawn Код:
COMMAND:test(playerid, params[])
{
TogglePlayerSpectating (playerid, 1);
PlayerSpectatePlayer (playerid, INVALID_PLAYER_ID, SPECTATE_MODE_FIXED);
SetTimerEx ("ASD", 10, false, "d", playerid);
}
forward ASD(playerid);
public ASD(playerid)
{
SetPlayerCameraPos (playerid, 1520.9084, -1674.9863, 13.5469);
SetPlayerCameraLookAt (playerid, 1556.0010, -1675.5375, 28.3955);
return 1;
}