EH10 Posted December 27, 2013 Share Posted December 27, 2013 السلام عليكم ورحمة الله وبركاتة ممكن كود اذا خلص التحميل بيجيك انتقالات يعني يجي الدايري من يخلص تضغط سهم يمين يوديك النخيل بس من فوق وتضغط ثاني مره بيوديك البداية اذا ضغطت انتر بينقلك لمة بس يجي من فوق زي ونساة تيمي wnash_time Link to comment
EH10 Posted December 27, 2013 Author Share Posted December 27, 2013 بليز بسرعة انتو مابتعطوني الاكواد بدي بس الفنكشنات Link to comment
xFace[B]ook Posted December 27, 2013 Share Posted December 27, 2013 bindKey setCameraMatrix setElementPosition Link to comment
Mr-M3AND Posted December 27, 2013 Share Posted December 27, 2013 if isTransferBoxActive() == false then -- التحقق من انتهاء التحميل Link to comment
EH10 Posted December 27, 2013 Author Share Posted December 27, 2013 bindKey setCameraMatrix setElementPosition الكود صح ؟ function Spawn () if isTransferBoxActive() == false then setCameraMatrix(source, x, y, z, x, y, z) setElementPosition(source, x, y, z) end bindKey ("arrow_u","down", Spawn) Link to comment
al-Kobra Posted December 27, 2013 Share Posted December 27, 2013 لازم البوزشن تخليه ويه الانتر بيند كي "فنكشن بروحه" Link to comment
EH10 Posted December 28, 2013 Author Share Posted December 28, 2013 والان صح ؟ ردو function Spawn () if isTransferBoxActive() == false then setCameraMatrix(source, x, y, z, x, y, z) else setCameraMatrix(source, x, y, z, x, y, z) end bindKey ("arrow_u","down", Spawn) function Enter () setElementPosition(source, x, y, z) else setElementPosition(source, x, y, z) end bindKey ("Enter","down", Enter) Link to comment
al-Kobra Posted December 28, 2013 Share Posted December 28, 2013 والان صح ؟ ردو function Spawn () if isTransferBoxActive() == false then setCameraMatrix(source, x, y, z, x, y, z) else setCameraMatrix(source, x, y, z, x, y, z) end bindKey ("arrow_u","down", Spawn) function Enter () setElementPosition(source, x, y, z) else setElementPosition(source, x, y, z) end bindKey ("Enter","down", Enter) اصبر بسويه لك Link to comment
al-Kobra Posted December 28, 2013 Share Posted December 28, 2013 --Client Side! function right() if isTransferBoxActive() == false then setCameraMatrix(source, x, y, z, x, y, z) if getCameraMatrix () == x, y, z, x, y, z then setCameraMatrix(source, x, y, z, x, y, z) elseif getCameraMatrix () == x, y, z, x, y, z then setCameraMatrix(source, x, y, z, x, y, z) end end bindKey ( "arow_r", "down", right ) function left() if getCameraMatrix () == x, y, z, x, y, z then setCameraMatrix(source, x, y, z, x, y, z) elseif getCameraMatrix () == x, y, z, x, y, z then setCameraMatrix(source, x, y, z, x, y, z) end end bindKey ( "arow_l", "down", left ) function enter() local cMx = getCameraMatrix() triggerServerEvent("spawn",getLocalPlayer(),cMx) setCameraTarget (localPlayer(), localPlayer()) end bindKey ( "Enter", "down", enter ) --server Side! addEvent("spawn",true) addEventHandler("spawn",root, function(cMx) if cMx == x, y, z, x, y, z then spawnPlayer (source, x, y, z, skin ID) fadeCamera (source, true) setCameraTarget (source, source) elseif cMx == x, y, z, x, y, z then spawnPlayer (source, x, y, z, skin ID) fadeCamera (source, true) setCameraTarget (source, source) end end ) اتوقع كذا Link to comment
EH10 Posted December 28, 2013 Author Share Posted December 28, 2013 --Client Side! function right() if isTransferBoxActive() == false then setCameraMatrix(source, x, y, z, x, y, z) if getCameraMatrix () == x, y, z, x, y, z then setCameraMatrix(source, x, y, z, x, y, z) elseif getCameraMatrix () == x, y, z, x, y, z then setCameraMatrix(source, x, y, z, x, y, z) end end bindKey ( "arow_r", "down", right ) function left() if getCameraMatrix () == x, y, z, x, y, z then setCameraMatrix(source, x, y, z, x, y, z) elseif getCameraMatrix () == x, y, z, x, y, z then setCameraMatrix(source, x, y, z, x, y, z) end end bindKey ( "arow_l", "down", left ) function enter() local cMx = getCameraMatrix() triggerServerEvent("spawn",getLocalPlayer(),cMx) setCameraTarget (localPlayer(), localPlayer()) end bindKey ( "Enter", "down", enter ) --server Side! addEvent("spawn",true) addEventHandler("spawn",root, function(cMx) if cMx == x, y, z, x, y, z then spawnPlayer (source, x, y, z, skin ID) fadeCamera (source, true) setCameraTarget (source, source) elseif cMx == x, y, z, x, y, z then spawnPlayer (source, x, y, z, skin ID) fadeCamera (source, true) setCameraTarget (source, source) end end ) اتوقع كذا ماضبط Link to comment
EH10 Posted December 28, 2013 Author Share Posted December 28, 2013 /debugscript 3 ?? ERROR: Loading script failed: x7mayh\server.lua:4: 'then' expected near ',' ERROR: Loading script failed: x7mayh\client2.lua:1: '=' expected near ' Link to comment
al-Kobra Posted December 28, 2013 Share Posted December 28, 2013 حط end في اول فنكشن في الكلنت سايد 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