[BUG]: Clickable Textdraws / Player attached object editor
#8

Your best bet would be to make a new clickable textdraw to move the camera
pawn Code:
if(playertextid == RotateCamTD[playerid])
        {
            switch(CameraRotate[playerid])
            {
                case 0:
                {
                    SetPlayerCameraPos(playerid, x, y, z);
                    SetPlayerCameraLookAt(playerid, x, y, z);
                    CameraRotate[playerid] = 1;
                }
                case 1:
                {
                    SetPlayerCameraPos(playerid, x, y, z);
                    SetPlayerCameraLookAt(playerid, x, y, z);
                    CameraRotate[playerid] = 2;
                }
                case 2:
                {
                    SetPlayerCameraPos(playerid, x, y, z);
                    SetPlayerCameraLookAt(playerid, x, y, z);
                    CameraRotate[playerid] = 3;    
                }
                case 3:
                {
                    SetPlayerCameraPos(playerid, x, y, z);
                    SetPlayerCameraLookAt(playerid, x, y, z);
                    CameraRotate[playerid] = 0;
                }
            }
            return 1;
        }


This is from something I did using Clickable Player TextDraws.


Hope this helps!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)