Class selection camera!
#1

heey scripters
I have a problem with the camera on player class selection!
Sometimes(the most time) the player faces to left.
This is my code:
Code:
SetPlayerPos(playerid, 1962.1644,1343.0841,15.4823);
SetPlayerFacingAngle(playerid,88.5801);
SetPlayerCameraPos(playerid, 1957.5919,1343.1099,15.3746);
SetPlayerCameraLookAt(playerid, 1962.1644,1343.0841,15.4823);
pls help
Thanks admigo!
Reply
#2

pawn Code:
SetPlayerPos(playerid, 1962.1644,1343.0841,15.4823);
SetPlayerFacingAngle(playerid,88.5801);
SetPlayerCameraPos(playerid, 1957.5919,1343.1099,15.3746);
SetPlayerCameraLookAt(playerid, 1957.5919,1343.1099,15.3746);
try this
Reply
#3

Replace:
pawn Code:
SetPlayerFacingAngle(playerid,88.5801);
With:
pawn Code:
SetPlayerFacingAngle(playerid, 0);
Reply
#4

He dont needs to look to the north!
Reply
#5

Problem solved i think!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)