SA-MP Forums Archive
AttachCameraToObject - 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: AttachCameraToObject (/showthread.php?tid=604279)



AttachCameraToObject - FinStar - 02.04.2016

Hello, I have a problem with the camera and rendering the map, do not know why the map does not render?


http://prntscr.com/ancdhb



Код:
  
case 1:
{
       new Objeto = CreateObject(19178, 1524.10, -1605.94, 18.72, 0.0, 0.0, 0.0);
       AttachCameraToObject(playerid, Objeto);
       TextDrawShowForPlayer(playerid,TVCAM_CornerTopLeft);
       TextDrawShowForPlayer(playerid,TVCAM_CornerTopRight);
       TextDrawShowForPlayer(playerid,TVCAM_CornerBottomLeft);
       TextDrawShowForPlayer(playerid,TVCAM_CornerBottomRight);
}



Re: AttachCameraToObject - zT KiNgKoNg - 02.04.2016

Well, have you tried teleporting the player to that position? Usually its because he/she is not in range to render that part of the map.