How can I achieve this
#1

I want to make a

/buyphone command.


And when /buyphone command it's activated, I want to zoom screen without seeing the character on these locations



And a textbox to appear "buy" or "next"





How's on bare script, something like change skin.



I don't need coding, I can create it, but I don't know what functions to use
Reply
#2

I can use

PHP код:
    SetPlayerFacingAngle(playerid,
    
SetPlayerCameraPos(playerid,
    
SetPlayerCameraLookAt(playerid 

and do case for each camerapos?

Reply
#3

Someone help?
Reply
#4

https://sampwiki.blast.hk/wiki/InterpolateCameraPos
https://sampwiki.blast.hk/wiki/InterpolateCameraLookAt
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt

I don't understand what you're having trouble with? You have the functions, what exactly don't you understand about them?

If you want a moving camera, use InterpolateCameraPos and InterpolateCameraLookAt. If you want the camera to move instantly, you can use SetPlayerCameraPos and SetPlayerCameraLookAt instead. (Even though Interpolation has the option to do both.. :/)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)