Function + Timer to destory Moving Camera On Connect
#1

Hello guys, I've recently posted a few threads. And people did not bother to answer because they do not want to help me! Which I am very angry about! Ok, then I thought of an idea (Well me and my friend) To make a function to Destroy the moving camera using a function and a timer? Because when I logon to my server, the moving camera does not stop, it keeps continuing and it pauses, but it doesn't move to Class Section. Also it hides the "Spawn" button, So I was wondering if you can help me fix it! Thanks
Reply
#2

On each camera movement just set timer. If you are using camera movement at public OnPlayerRequestClass(playerid, classid) just set multiple moving cameras. Using the fs of camera moving options.

You can use
this https://sampforum.blast.hk/showthread.php?tid=329813
or this
https://sampforum.blast.hk/showthread.php?tid=330879
Reply
#3

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
On each camera movement just set timer. If you are using camera movement at public OnPlayerRequestClass(playerid, classid) just set multiple moving cameras. Using the fs of camera moving options.

You can use
this https://sampforum.blast.hk/showthread.php?tid=329813
or this
https://sampforum.blast.hk/showthread.php?tid=330879
And how do I use that OnPlayerConnect?
Reply
#4

To stop it use KillTimer to stop the timer and SetCameraBehindPlayer to stop the rotation.
Reply
#5

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
To stop it use KillTimer to stop the timer and SetCameraBehindPlayer to stop the rotation.
Explain more please! Give an example
Reply
#6

Quote:
Originally Posted by Goldino
Посмотреть сообщение
Explain more please! Give an example
He means, use the KillTimer to stop it with a timer, and also use SetCameraBehindPlayer To stop the rotation.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)