BadBoy Posted October 12, 2013 Share Posted October 12, 2013 انا ماشوف فيه اي غلط لاكن ماضبط لو مات شخص ,, يستوي له سباون ,, بعد 3 ثواني ,, addEventHandler("onPlayerWasted",root, function() setTimer ( function() spawnPlayer(source,2027.8942871094,-1420.7333984375,16.9921875,0,0,0,0,nil) setCameraTarget(source,source) end,3000,1) end ) Link to comment
jafar Posted October 12, 2013 Share Posted October 12, 2013 (edited) addEventHandler ( "onPlayerWasted", root, function ( ) setTimer ( spawnPlayer, 3000, 1, source, 2027.8942871094, -1420.7333984375, 16.9921875, 0, 0, 0, 0, nil ) setTimer ( setCameraTarget, 3000, 1, source, source ) setTimer ( fadeCamera, 3000, 1, source, true ) end ) Edited October 12, 2013 by Guest Link to comment
BadBoy Posted October 12, 2013 Author Share Posted October 12, 2013 addEventHandler ( "onPlayerWasted", root, function ( ) setTimer ( spawnPlayer, 3000, 1, source, 2027.8942871094, -1420.7333984375, 16.9921875, 0, 0, 0, 0, nil ) setTimer ( setCameraTarget, 3000, 1 source, source ) setTimer ( fadeCamera, 3000, source, true ) end ) WARNING: Loading script failed : server.lua:67 expected near 'source' Link to comment
BadBoy Posted October 12, 2013 Author Share Posted October 12, 2013 addEventHandler ( "onPlayerWasted", root, function ( ) setTimer ( spawnPlayer, 3000, 1, source, 2027.8942871094, -1420.7333984375, 16.9921875, 0, 0, 0, 0, nil ) setTimer ( setCameraTarget, 3000, 1 source, source ) setTimer ( fadeCamera, 3000, source, true ) end ) خلاص تم حل المشكلة مشكور + يصير كذا,, ناقصه فواصل ,, setTimer ( spawnPlayer, 3000, 1, source, 2027.8942871094, -1420.7333984375, 16.9921875, 0, 0, 0, 0, nil ) setTimer ( setCameraTarget, 3000, 1, source, source ) setTimer ( fadeCamera, 3000,1, source, true Link to comment
jafar Posted October 12, 2013 Share Posted October 12, 2013 حياك الله .. كنت كاتب الكود على السريع ونسيت فاصلة 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