Simple. Posted September 1, 2014 Share Posted September 1, 2014 آلسلام عليكم شبآب لاهنتم عندي مشكله بهذآ آلكود -- Client Side addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == okbu ) then if ( guiGetText ( PassEdit ) == "00" ) then triggerServerEvent ( "warp", localPlayer ) outputChatBox ("#0082D7Welcome My Love",255,255,255, true) guiSetVisible(PassWin, false ) showCursor( false ) else outputChatBox ( "#0082D7Worng Password Bitch", 255, 0, 0, true ) end end end ) -- Server Side addEvent ( "warp", true ) addEventHandler ( "warp", root, function ( ) setElementPosition ( source, 1302.2878417969, -789.06280517578, 1083.9079589844 ) setElementInterior ( source, 5 ) setElementDimension ( source, 12345 ) end ) لما ينقلني اول مره ينقلني كل شي صحيح لكن لما آجي مره ثانيه يحطني بآلعالم الوهمي بس , مايوديني الانتريور آلي انا ابيه آلححل لآهنتم Link to comment
Nickelz Posted September 1, 2014 Share Posted September 1, 2014 --#Client addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == okbu ) then if ( guiGetText ( PassEdit ) == "00" ) then triggerServerEvent ( "warp", localPlayer ) outputChatBox ("#0082D7Welcome My Love",255,255,255, true) guiSetVisible(PassWin, false ) showCursor( false ) else outputChatBox ( "#0082D7Worng Password Bitch", 255, 0, 0, true ) end end end ) --#Server addEvent ( "warp", true ) addEventHandler ( "warp", root, function ( ) setElementInterior ( source, 5, 1302.2878417969, -789.06280517578, 1083.9079589844 ) end ) Link to comment
Simple. Posted September 1, 2014 Author Share Posted September 1, 2014 يب , اول مره يوديني ولما اجي ثآني مره يخليني ب مكآني Link to comment
Nickelz Posted September 1, 2014 Share Posted September 1, 2014 --#Server addEvent ( "warp", true ) addEventHandler ( "warp", root, function ( ) if not ( getElementInterior( source ) == 5 ) then setElementInterior ( source, 5, 1302.2878417969, -789.06280517578, 1083.9079589844 ) else setElementInterior( source, 0 ) end end ) Link to comment
Simple. Posted September 1, 2014 Author Share Posted September 1, 2014 للآسف نفس آلمشكله :( :( Link to comment
Nickelz Posted September 1, 2014 Share Posted September 1, 2014 لانك تروح عالم 5 ولا ترجع 0 .. Link to comment
Simple. Posted September 1, 2014 Author Share Posted September 1, 2014 لانك تروح عالم 5 ولا ترجع 0 .. لما اروح عالم 5 فيه ماركر يرجعني ل 0 Link to comment
UAEpro Posted September 2, 2014 Share Posted September 2, 2014 -- Server Side addEvent ( "warp", true ) addEventHandler ( "warp", root, function ( ) if not ( getElementInterior( source ) == 5 ) then setElementInterior ( source, 5,1302.2878417969, -789.06280517578, 1083.9079589844 ) setElementDimension ( source, 12345 ) else setElementInterior ( source, 0) setElementDimension ( source, 1) end ) Link to comment
Simple. Posted September 2, 2014 Author Share Posted September 2, 2014 للآسف نفس المشكله Link to comment
#DRAGON!FIRE Posted September 2, 2014 Share Posted September 2, 2014 ! وضح المشكلة اكثر طيب Link to comment
Simple. Posted September 2, 2014 Author Share Posted September 2, 2014 ! وضح المشكلة اكثر طيب لما ينقلني اول مره ينقلني كل شي صحيح لكن لما آجي مره ثانيه يحطني بآلعالم الوهمي بس , مايوديني الانتريور آلي انا ابيه آلححل لآهنتم Link to comment
#DRAGON!FIRE Posted September 2, 2014 Share Posted September 2, 2014 ما ادري لو تنفع لاكن جرب local Timer = { }; addEvent ( "warp", true ) addEventHandler ( "warp", root, function ( ) if ( isTimer ( Timer [ source ] ) ) then return end setElementInterior ( source, 5,1302.2878417969, -789.06280517578, 1083.9079589844 ) setElementDimension ( source, 12345 ) Timer [ source ] = setTimer ( function ( source ) if ( getElementInterior ( source ) ~= 5 ) then setElementInterior ( source, 5,1302.2878417969, -789.06280517578, 1083.9079589844 ) Timer [ source ] = nil end end, 500, 1, source ) end ) addEventHandler ( "onPlayerQuit", root, function ( ) if ( Timer [ source ] ) then Timer [ source ] = nil end end ) Link to comment
shwaeki Posted September 3, 2014 Share Posted September 3, 2014 -- Server Side addEvent ( "warp", true ) addEventHandler ( "warp", root, function ( ) if not ( getElementInterior( source ) == 5 ) then setElementInterior ( source, 5,1302.2878417969, -789.06280517578, 1083.9079589844 ) setElementDimension ( source, 12345 ) else setElementInterior ( source, 0) setElementDimension ( source, 1) end ) ناقص اند Link to comment
Simple. Posted September 3, 2014 Author Share Posted September 3, 2014 مآنقققققققع :( Link to comment
#DRAGON!FIRE Posted September 3, 2014 Share Posted September 3, 2014 مآنقققققققع :( جربت كودي .. Link to comment
Simple. Posted September 3, 2014 Author Share Posted September 3, 2014 مآنقققققققع :( جربت كودي .. يب Link to comment
#DRAGON!FIRE Posted September 3, 2014 Share Posted September 3, 2014 اجل المشكلة من عندكـ . Link to comment
Simple. Posted September 3, 2014 Author Share Posted September 3, 2014 اجل المشكلة من عندكـ . انت كل شي من عندك دايم تجيني مشآكل مع المآركرات الزفت Link to comment
#DRAGON!FIRE Posted September 3, 2014 Share Posted September 3, 2014 مدام ينقلكـ للعالم الوهمي يعني شغال المشكلة من الانترو شيكـ يوم يخرج من الانترو او يخش الماركر حق اللي يشيله من الانترو يكون صحيح او اطرحه خلنا نشوف ! Link to comment
nxFairlywell Posted September 3, 2014 Share Posted September 3, 2014 امم باسل , طيب انت حاط ماركر ثاني او شي ؟ مستحيل يرجعك كذا بدون ماتسوي شيء Link to comment
Simple. Posted September 3, 2014 Author Share Posted September 3, 2014 هذا الكود الي ينقلك من الانتريو للعالم العادي addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == outbu ) then setElementInterior ( localPlayer, 0, 1309.4244384766, -1378.3237304688, 13.678433418274 ) setElementDimension ( localPlayer, 0 ) outputChatBox ("#0082D7See You Soon ",255,255,255, true) guiSetVisible(PassWin1, false ) showCursor( false ) end end ) Link to comment
#DRAGON!FIRE Posted September 3, 2014 Share Posted September 3, 2014 addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == outbu ) then outputChatBox ("#0082D7See You Soon ",255,255,255, true) guiSetVisible ( PassWin1, false ) showCursor( false ) triggerServerEvent ( "Out!", getLocalPlayer ( ) ) end end ) addEvent ( "Out!", true ) addEventHandler ( "Out!", root, function ( ) setElementInterior ( source, 0, 1309.4244384766, -1378.3237304688, 13.678433418274 ) setElementDimension ( source, 0 ) 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