SA-MP Forums Archive
Camera functions - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Camera functions (/showthread.php?tid=140439)



Camera functions - deather - 09.04.2010

how to zoom a camera in and out? (during a class selection i want it to just move from one pos to another and not rotate)


Re: Camera functions - Grim_ - 09.04.2010

Use the floatcos and floatsin functions to calculate a the distance X meters infront of the person and set the camera to that location.


Re: Camera functions - deather - 09.04.2010

But wont it make to spin??


Re: Camera functions - Grim_ - 09.04.2010

You want it to spin?


Re: Camera functions - deather - 09.04.2010

No just to move like from 0.0 to 10.0 (Like MoveObject)

it would be good if i could get the code for it! I badly wanted it and I aint good at floatcos/floatsin


Re: Camera functions - Grim_ - 09.04.2010

Look at the functions on the wiki, it explains them.


Re: Camera functions - deather - 09.04.2010

Float functions?


Re: Camera functions - Grim_ - 09.04.2010

Quote:
Originally Posted by |)ЂΩ†{−}ЂR™ – Dare To Die
Float functions?
Interesting.. the pages for those functions are under construction..

https://sampwiki.blast.hk/wiki/floatcos
https://sampwiki.blast.hk/wiki/floatsin


Re: Camera functions - deather - 09.04.2010

Oh shit

Is there no way to get those functions??


Re: Camera functions - Grim_ - 09.04.2010

I'm sure there are some other sites that have them with explanations. Just ****** "SA:MP floatcos"