dodo11 Posted October 29, 2012 Share Posted October 29, 2012 setElementPosition(source,1554.2893,-1675.8519,16.1953) setElementInterior(source,0) setPedRotation(source, 90) setCameraTarget(source,source) setCameraTarget not works. Camera does not follow the player, steps aside. Link to comment
Dev Posted October 29, 2012 Share Posted October 29, 2012 Post the error logs and full code please. Link to comment
dodo11 Posted October 29, 2012 Author Share Posted October 29, 2012 outputChatBox("int" , player) spawnPlayer(source,246.7503,62.3239,1003.6406) setElementInterior(source,6) setCameraTarget(source) type: when DP goes: camera is sideways: I wanted it to be like this: Link to comment
TAPL Posted October 29, 2012 Share Posted October 29, 2012 Replace this: setCameraTarget(source,source) With this: setTimer(setCameraTarget,50,1,source) Link to comment
dodo11 Posted October 29, 2012 Author Share Posted October 29, 2012 Thanks, that was what I needed. Timer sometimes it gets put in the 200, more this it good. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now