PDA

View Full Version : How to set camere look at, facing angle..


smoke_weed
18/01/2012, 03:57 PM
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid,220.3261,1822.9734,7.5368);//The Place postion

SetPlayerCameraLookAt(playerid,220.3261,1822.9734, 7.5368);//Camera Look at the player

SetPlayerCameraPos(playerid,226.7491,1823.0441,7.4 141);//Camera Postiion

SetPlayerFacingAngle(playerid, 270 );//The Facing Angle

SetPlayerTeamFromClass(playerid, classid);//It set's the player to the choosing team


return 1;
}

How can i get all these coords?

thimo
18/01/2012, 04:08 PM
/save

niels44
18/01/2012, 04:10 PM
try as the facing angle: 270.0

smoke_weed
18/01/2012, 04:12 PM
/save is only place position, but I need also the facing angle enz

sabretur
18/01/2012, 04:33 PM
Here is your facing angle:
AddPlayerClass(0,1958.33,1343.12,15.36,269.15,26,3 6,28,150,0,0);

smoke_weed
18/01/2012, 05:14 PM
Thnx, I can't get this on work. I'll want a moving camera on the player bases while class selection