RyuMaster Posted January 6, 2017 Share Posted January 6, 2017 Hi! I have this problem. I spawn player on ther server inside certain interrior on the server side: source:spawn(startX,startY, startZ + 0.5, 0, jobModel, interriorID, playerDim, Team.getFromName(playerTeam)) Then, on the client side this is triggered: fadeCamera(true, 1) setCameraInterior(interriorID) setCameraMatrix(startX - 2, startY, startZ ) guiSetInputEnabled(true) toggleAllControls (false, true, true) showCursor(true) My idea is to fix camera in space, and take all control from the player. This drops no errors, and player can not be controller. But, camera is always shown from behind normally, seems like all my camera functions are just being ingnored. Maybe because I run them just after the player spawns in interrior, and that makes some overwrites? Any ideas? Link to comment
myonlake Posted January 7, 2017 Share Posted January 7, 2017 (edited) Unable to reproduce with the script provided. Do you have the full script? Something else must be interfering with the camera. Another resource, perhaps? Spawn doesn't affect camera target. Edited January 7, 2017 by myonlake Link to comment
RyuMaster Posted January 7, 2017 Author Share Posted January 7, 2017 I see, thank you for getting back. Must be something else... I'll do more tests then and will try todiig it up. 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