Camera problem!
#3

Quote:
Originally Posted by DBZdabIt3Bro7
Посмотреть сообщение
To start off with, read this: https://sampforum.blast.hk/showthread.php?tid=341545

You shouldn't be use the macro "function:" for the camera, it should be plain text.

PHP код:
SetPlayerLoginCamera(playerid
Second, toggling the player to spectate is what causes your camera functions to not have an effect since you're calling the functions directly after.

PHP код:
        Camera(playerid);
        
TogglePlayerSpectating(playeridtrue); 
Instead, you could switch to using InterpolateCameraPos and InterpolateCameraLookAt.

https://sampwiki.blast.hk/wiki/InterpolateCameraPos
https://sampwiki.blast.hk/wiki/InterpolateCameraLookAt

You can set the type to CAMERA_CUT with a small interval of 1 millisecond or less.
Wow, Thank you so much man all problem is gone
Reply


Messages In This Thread
Camera problem! - by Tenka - 05.08.2018, 17:07
Re: Camera problem! - by DBZdabIt3Bro7 - 05.08.2018, 19:00
Re: Camera problem! - by Tenka - 06.08.2018, 04:10

Forum Jump:


Users browsing this thread: 1 Guest(s)