SetPlayerCameraPos Not Working
#1

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.

Код:
	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;
	}
-- Thanks in advance for any help.
Reply


Messages In This Thread
SetPlayerCameraPos Not Working - by Dennis_Smith - 13.10.2013, 16:58
Respuesta: SetPlayerCameraPos Not Working - by [CG]Milito - 13.10.2013, 17:00
Re: Respuesta: SetPlayerCameraPos Not Working - by Dennis_Smith - 13.10.2013, 17:09
Respuesta: SetPlayerCameraPos Not Working - by [CG]Milito - 13.10.2013, 17:20

Forum Jump:


Users browsing this thread: 2 Guest(s)