13.10.2013, 16:58
I'm trying to use 'SetPlayerCameraPos' to change the players camera position to a few spots where I have placed camera objects. SetPlayerCameraPos isn't doing anything, nor is it giving me errors. The 'SetCameraBehindPlayer' is working fine.
-- Thanks in advance for any help.
Код:
if(strcmp("/cam1", cmdtext, false) == 0) { SetPlayerCameraPos(playerid, 2247.3000488,1693.0000000,1011.4000244); return 1; } if(strcmp("/cam2", cmdtext, false) == 0) { SetPlayerCameraPos(playerid, 2233.8999023,1635.6999512,1014.7000122); return 1; } if(strcmp("/cam3", cmdtext, false) == 0) { SetPlayerCameraPos(playerid, 2175.6000977,1612.1999512,1012.2999878); return 1; } if(strcmp("/stopcam", cmdtext, false) == 0) { SetCameraBehindPlayer(playerid); return 1; }