Moving Skin.
#1

hi, well I saw this script to move the camera in selecting skin https://sampforum.blast.hk/showthread.php?tid=90880, and also wanted to move the skin to the opposite of the camera, as I can do? Thank you.
Reply
#2

I do not see how this is of any benefit as it would appear the camera to be still.

Yes, this is possible. You will need to get the player's camera position and then use trigonometry to manipulate the returned values (floatsin, floatcos (look at other functions taking advantage of these functions to understand them OR some tutorials on sin/cos/tan)) to return the position opposite the cameras current position. You will need to know the radius the camera will be moving at so you can add/remove the distance appropriately.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)