Attached camera
#1

Camera is not moving with player, why?
Код:
	new Float:x, Float:y, Float:z;
	new cameraobject;
	GetPlayerPos(playerid, x, y, z);
	cameraobject = AttachObjectToPlayer(19300, playerid, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
	
	SetPlayerCameraPos(playerid, x, y, z+10);
	SetPlayerCameraLookAt(playerid, x, y, z, 1);
	AttachCameraToObject(playerid, cameraobject);
Reply


Messages In This Thread
Attached camera - by cnoopers - 10.07.2014, 18:57
Re: Attached camera - by Tadas - 10.07.2014, 19:17
Re: Attached camera - by cnoopers - 10.07.2014, 21:17
Re : Attached camera - by S4t3K - 10.07.2014, 22:31
Re: Attached camera - by cnoopers - 10.07.2014, 22:45

Forum Jump:


Users browsing this thread: 1 Guest(s)