SA-MP Forums Archive
How to do this :/. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to do this :/. (/showthread.php?tid=628702)



How to do this :/. - gamersx - 13.02.2017

Hi, i need help with this because i tried all night and i wasnt able to do it .

What i want to do its, a "cameraman" . Like spectate function but to another player who has an object or something else and spectate that.

Spectate a player like in first person ( that's why the object ) and when the player moves,the camera moves like a cameraman. Like if you're watching tv.

Maybe for people who knows how to do it its very simple, but not for me and i want to learn.

Thanks for reading.


Re: How to do this :/. - jlalt - 13.02.2017

Here you go
https://sampwiki.blast.hk/wiki/TogglePlayerSpectating
https://sampwiki.blast.hk/wiki/PlayerSpectatePlayer

here are some useful tutorials / systems about it.
https://sampforum.blast.hk/showthread.php?tid=564035
https://sampforum.blast.hk/showthread.php?tid=431967
https://sampforum.blast.hk/showthread.php?tid=298656
https://sampforum.blast.hk/showthread.php?tid=169961


Re: How to do this :/. - gamersx - 13.02.2017

Thanks, i saw some tutorials for spectating. The thing is, how to put to the player an object and spectate that object and , when the player moves the camera moves too. Thats the hard part


Re: How to do this :/. - jlalt - 13.02.2017

Quote:
Originally Posted by gamersx
Посмотреть сообщение
Thanks, i saw some tutorials for spectating. The thing is, how to put to the player an object and spectate that object and , when the player moves the camera moves too. Thats the hard part
Well, you don't need an object to do that all you need is using this function then player will spectate player and when he move the camera will move too....
https://sampwiki.blast.hk/wiki/PlayerSpectatePlayer


Re: How to do this :/. - gamersx - 13.02.2017

So what i need to do, is like get some /spectate function and make it to PlayerSpectatePlayer right?