open.mp forum
[Suggestion] Camera Manipulation - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: open.mp (https://forum.open.mp/forumdisplay.php?fid=40)
--- Forum: Questions and Suggestions (https://forum.open.mp/forumdisplay.php?fid=42)
--- Thread: [Suggestion] Camera Manipulation (/showthread.php?tid=590)



Camera Manipulation - Pinch - 2019-05-23

Hello Community, I came with great idea about Camera Manipulation!?

Code:
native CreatePlayerCamera(playerid, Float:X, Float:Y, Float:Size);
- playerid = Who's camera to be created?
- X, Y = 2D Coords for UI (like textdraw)
- Size = Size of UI
I also recommend to just Copy-Paste TextDraw UI and edit it to works with Cameras cuz every argument we need like size, outline, shadow is there...?

Code:
native AttachPlayerCameraToPlayer(playerid, targetid);
Show playerid's camera to targetid as UI

Also attaching cameras to objects will be great thing!