Posts: 624
Threads: 110
Joined: Apr 2012
Reputation:
0
Hey there, i need somehelp regarding login camera position, does anybody know how can i code that on player login it shows the camera pos at the location they last quitted i totally got no idea how i do it,
So help will be appreciated, also please explain me a bit how we do it.
Thanks in advance.
Posts: 333
Threads: 18
Joined: Jul 2010
Reputation:
0
you have to save player pos (or player camera pos + camera front vector) when player quits and load this information when he connects/logins (depends on what you want). Then simply using loaded information set player camera pos and set player camera look at coords.
Posts: 624
Threads: 110
Joined: Apr 2012
Reputation:
0
Save their pos? , i mean to make it dynamic, the script should auto detect the last position and load it on their connection, so ?
Posts: 624
Threads: 110
Joined: Apr 2012
Reputation:
0
As i stated above i got no idea how i do it.. So just letting me know where to code wont help me bro, how would be the code for it?
Guest4390857394857
Unregistered
Posts: 624
Threads: 110
Joined: Apr 2012
Reputation:
0
So to show the camera at their last quitted place, should i have to GetPlayerCameraPos and load the same upon login or what ? Dont think you guys understood what i mean.
Posts: 624
Threads: 110
Joined: Apr 2012
Reputation:
0
Exactly how i expected and nope i didnt request for code just wanted hints or examples. And one more thing cant i save the position using dini?