How to set camere look at, facing angle.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to set camere look at, facing angle.. (
/showthread.php?tid=311806)
How to set camere look at, facing angle.. -
smoke_weed - 18.01.2012
Код:
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.4141);//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?
Re: How to set camere look at, facing angle.. -
thimo - 18.01.2012
/save
Re: How to set camere look at, facing angle.. -
niels44 - 18.01.2012
try as the facing angle: 270.0
Re: How to set camere look at, facing angle.. -
smoke_weed - 18.01.2012
/save is only place position, but I need also the facing angle enz
Re: How to set camere look at, facing angle.. -
sabretur - 18.01.2012
Here is your facing angle:
AddPlayerClass(0,1958.33,1343.12,15.36,
269.15,26,36,28,150,0,0);
Re: How to set camere look at, facing angle.. -
smoke_weed - 18.01.2012
Thnx, I can't get this on work. I'll want a moving camera on the player bases while class selection