Posts: 484
Threads: 49
Joined: Feb 2011
How can i move players camera to look at some other player.
Posts: 484
Threads: 49
Joined: Feb 2011
I'm not looking for spectate function,...
I just want to rotate player to look at some other player, to rotate his camera...
p.s. Pozdrav Srbine
Posts: 153
Threads: 27
Joined: Jun 2011
Reputation:
0
Use the savedpositions with /save
Posts: 1,059
Threads: 86
Joined: Sep 2010
Reputation:
0
Not too sure, it is complicated ...
But try getting the playerid and targetid's positions, if the playerid is in range of the targetid, use SetPlayerCameraLookAt(playerid,targetidX,targetidY ,targetid,Z);
Posts: 484
Threads: 49
Joined: Feb 2011
17.11.2011, 13:47
(
Последний раз редактировалось Dragony92; 17.11.2011 в 20:04.
)
@grand.Theft.Otto i'll try that. Edit: Don't work, as i thought..
Any other solution? I need that for snowball throwing, to move players facing angle to look at person on which he is throwing snowball...
Posts: 484
Threads: 49
Joined: Feb 2011
Posts: 484
Threads: 49
Joined: Feb 2011
For snowball throwing, when player throw snowball on other player to look at him...