How can I achieve 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 can I achieve this (
/showthread.php?tid=652662)
How can I achieve this -
Zeus666 - 16.04.2018
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
Re: How can I achieve this -
Zeus666 - 16.04.2018
I can use
PHP код:
SetPlayerFacingAngle(playerid,
SetPlayerCameraPos(playerid,
SetPlayerCameraLookAt(playerid
and do case for each camerapos?
Re: How can I achieve this -
Zeus666 - 16.04.2018
Someone help?
Re: How can I achieve this -
Threshold - 17.04.2018
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.. :/)