12p Posted October 9, 2010 Share Posted October 9, 2010 (edited) Hi to everybody again . I have a big problem when I spawn my player on my new gamemode... It get spawned, but THE CAMERA IS FULLY DARK! Why? It's server-side (obviously, doesn't it?) if team == "gangs" then skin = math.random (102,104) spawnPlayer (source,314.24-math.random(0,2),-165.6,999.6,180,skin,6,0,"Gangs") elseif team == "army" then skinTry = math.random(0,2) if skinTry == 0 then skin = 73 elseif skinTry == 1 then skin = 179 elseif skinTry == 2 then skin = 287 end repeat until setCameraInterior (source,6) repeat until setCameraTarget (source,source) spawnPlayer (source,314.24-math.random(0,3),-165.6,999.6,180,skin,6,0,"Army") Hope you can help me to find the problem... EDIT: No debugscript errors. No camera or spawning errors get showed. EDIT2: Nothing about the "repeat until"s. Edited October 9, 2010 by Guest Link to comment
dzek (varez) Posted October 9, 2010 Share Posted October 9, 2010 fadeCamera(source, true) ? i did not read the script Link to comment
12p Posted October 9, 2010 Author Share Posted October 9, 2010 Let me try... EDIT: No, it doesn't solve the problem. EDIT2: NO, problem solved! thanks again varez LOL! What could I do without varez . Link to comment
Xierra Posted October 10, 2010 Share Posted October 10, 2010 Simple, if fadeCamera is true, then it will fade till black, if false, it will fade out, I think. Link to comment
dzek (varez) Posted October 10, 2010 Share Posted October 10, 2010 nope, its reverse, true = visible, false = black screen 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