Class floats
#1

I have this for my class selection, can someone please tell me which float controls the "height" of the camera, so i can get a higher angle with the camera?

Код:
	SetPlayerPos(playerid, 385.101989, 2554.894287, 33.078125);
	SetPlayerFacingAngle(playerid, 333.565551);
	SetPlayerCameraLookAt(playerid, 385.101989, 2554.894287, 33.078125);
	SetPlayerCameraPos(playerid, 385.101989 + (10 * floatsin(-333.565551, degrees)), 2554.894287 + (10 * floatcos(-333.565551, degrees)), 33.078125);
Reply
#2

The third float 'z'.
pawn Код:
SetPlayerCameraPos(playerid, 385.101989 + (10 * floatsin(-333.565551, degrees)), 2554.894287 + (10 * floatcos(-333.565551, degrees)),/*33.078125*/);
Reply
#3

Thank you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)