dodo11 Posted October 29, 2012 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.
Dev Posted October 29, 2012 Posted October 29, 2012 Post the error logs and full code please. "First they ignore you, then they laugh at you, then they fight you, then you win." - Mahatma Gandhi (1869-1948)
dodo11 Posted October 29, 2012 Author 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:
TAPL Posted October 29, 2012 Posted October 29, 2012 Replace this: setCameraTarget(source,source) With this: setTimer(setCameraTarget,50,1,source)
dodo11 Posted October 29, 2012 Author Posted October 29, 2012 Thanks, that was what I needed. Timer sometimes it gets put in the 200, more this it good.
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