I think i have the same problem here; I can successfully use these two functions (SetPlayerCameraPos and SetPlayerComeraLookAt) to generate the view I want, but whenever i use the function TogglePlayerSpectating the view is simply changed to another view, that's not even the default view... can someone help me.
// TogglePlayerSpectating(playerid, 1);
// These two function works well as long as i don't call TogglePlayerSpectating above
![Sad](images/smilies/sad.gif)
SetPlayerCameraPos(playerid, x, y, z);
SetPlayerCameraLookAt(playerid, x, y, z);
ps.: I want TogglePlayerSpectating to hide the spawn buttons when i'm showing login dialogs...
Can some one help me?