10.07.2014, 18:57
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);