Camera functions
#1

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)
Reply
#2

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

But wont it make to spin??
Reply
#4

You want it to spin?
Reply
#5

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
Reply
#6

Look at the functions on the wiki, it explains them.
Reply
#7

Float functions?
Reply
#8

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
Reply
#9

Oh shit

Is there no way to get those functions??
Reply
#10

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


Forum Jump:


Users browsing this thread: