xMr.SAAD Posted January 13, 2014 Share Posted January 13, 2014 السلام عليكم شباب مشكله كود انا حاطه يوم يرسبن عالم يثبت كل ما انتحر يرجع بس معي مشكله هي انا حاط يرسبن مكان 2 يوم يضغظ زر 2 يضغظ زر 1 يجي نفس مكان ما يتغير مثال انا رسبنت في النخيل يوم اموت روح هناك طيب ضغظ زر ثاني صرت بدايه يوم يموت يرجع نخيل >< ابي حل addEventHandler('onClientGUIClick',K,function() if not getElementData(resourceRoot,'Respawn') then setElementData(resourceRoot,'Respawn',true) end setElementPosition(localPlayer,-3971.4719238281,-3001.4482421875,85.429931640625) end,false ) addEventHandler('onClientPlayerSpawn',localPlayer,function() if getElementData(resourceRoot,'Respawnn') == true then setElementPosition(localPlayer,-3971.4719238281,-3001.4482421875,85.429931640625) end end ) addEventHandler('onClientGUIClick',B,function() if not getElementData(resourceRoot,'Respawnn') then setElementData(resourceRoot,'Respawnn',true) end setElementPosition(localPlayer,306.20425415039,-2039.3254394531,45.436496734619) end,false ) addEventHandler('onClientPlayerSpawn',localPlayer,function() if getElementData(resourceRoot,'Respawnn') == true then setElementPosition(localPlayer,306.20425415039,-2039.3254394531,45.436496734619) end end ) Link to comment
#DRAGON!FIRE Posted January 13, 2014 Share Posted January 13, 2014 ممكن تفهمني .. اكثر Link to comment
xMr.SAAD Posted January 13, 2014 Author Share Posted January 13, 2014 انا يوم اضغظ زر 1 في مود يرسبن نخيل يوم انتحر يرجع نخيل يوم اضغظ زر 2 في مود يرسبن في بدايه يوم اموت يرجع نخيل مفروض يقعد يرسبن في بدايه >< انشاللهة فهمت Link to comment
#DRAGON!FIRE Posted January 13, 2014 Share Posted January 13, 2014 انا يوم اضغظ زر 1 في مود يرسبن نخيل يوم انتحر يرجع نخيل يوم اضغظ زر 2 في مود يرسبن في بدايه يوم اموت يرجع نخيل مفروض يقعد يرسبن في بدايه >< انشاللهة فهمت يعني تبيه لو ضغط زر 1 او 2 .. وقت يموت يترسبن فـ البداية ؟ Link to comment
فاّرس Posted January 13, 2014 Share Posted January 13, 2014 -- Client Side # addEventHandler('onClientGUIClick',root,function() if source == K then if not getElementData(resourceRoot,'Respawn') then setElementData(resourceRoot,'Respawn',true) end setElementPosition(localPlayer,-3971.4719238281,-3001.4482421875,85.429931640625) elseif source == Button2 then if not getElementData(resourceRoot,'Respawn2') then setElementData(resourceRoot,'Respawn2',true) end setElementPosition(localPlayer,x,y,z) end end ) addEventHandler('onClientPlayerSpawn',localPlayer,function() if getElementData(resourceRoot,'Respawn') == true then setElementPosition(localPlayer,-3971.4719238281,-3001.4482421875,85.429931640625) elseif getElementData(resourceRoot,'Respawn2') == true then setElementPosition(localPlayer,x,y,z) end 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