SetPlayerCameraLookat
#1

I am trying to change where the character and camera is when selecting your class.

Код:
SetupPlayerForClassSelection(playerid)
{
 	//SetPlayerInterior(playerid,14);
 	//SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
	//SetPlayerFacingAngle(playerid, 270.0);
	//SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
	//SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
 	SetPlayerInterior(playerid,0);
 	SetPlayerPos(playerid,1774.24169922,-2998.60498047,8.95931453);
 	SetPlayerFacingAngle(playerid, 0);
	SetPlayerCameraPos(playerid,1767.26623535,-3000.20703125,9.48431396);
	SetPlayerCameraLookAt(playerid,19.49951172,0.000000,99.99807739);
}

public OnPlayerRequestClass(playerid, classid)
{
	SetupPlayerForClassSelection(playerid);
	return 1;
}
The commented ones are the ones defined by default for the gamemode, if I use the default positions and angles, and I edit the SetPlayerCameraLookAt, then the camera rotates fine. But If I use my locations and angles, Whenever I edit the angle, the camera doesn't move at all. Can anyone help me?
Reply
#2

bumpppppppp
Reply
#3

This problem was with my server too, try to do it with Ryder's Class Maker

http://forum.sa-mp.com/showthread.ph...ighlight=ryder
Reply
#4

Thnksssss
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)