^iiEcoo'x_) Posted August 8, 2016 Share Posted August 8, 2016 (edited) السلام عليكم عندي ذا الكود هل هو صحيح ؟ سيرفر triggerServerEvent ( "OpenPanel" , localPlayer ) addEvent("OpenPanel",true) addEventHandler("OpenPanel",root, function ( ) guiSetVisible (window,not guiGetVisible (window) ) showCursor (guiGetVisible (window) ) end end) Edited August 8, 2016 by Guest Link to comment
a7zan Posted August 8, 2016 Share Posted August 8, 2016 السلام عليكم عندي ذا الكود هل هو صحيح ؟ سيرفر triggerServerEvent ( "OpenPanel" , localPlayer ) addEvent("OpenPanel",true) addEventHandler("OpenPanel",root, function ( ) guiSetVisible (window,not guiGetVisible (window) ) showCursor (guiGetVisible (window) ) end end) triggerServerEvent -- Client Link to comment
^iiEcoo'x_) Posted August 8, 2016 Author Share Posted August 8, 2016 انا سويت ذا الكود ابي يصير حدث ب عالم وهمي معين ! addCommandHandler ( "1234", function (Cmd , palyer , thePlayer) if Cmd and getElementDimension(localPlayer) == 5456 then acc = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user.".. acc, aclGetGroup ( "Console" ) ) then outputChatBox("-------- "..getPlayerName(player).." ----- ") killPed ( source, thePlayer ) setElementPosition(root, x, y, z) setElementDimension(player, 0) end end ) Link to comment
Mhmd.z Posted August 8, 2016 Share Posted August 8, 2016 سطر 4 بالتحقق اذا كان الاعب بالدمشن localPlayer = client Link to comment
!#NssoR_) Posted August 8, 2016 Share Posted August 8, 2016 local x,y,z = 0,0,0 local dimension = 0 addCommandHandler ( "1234", function (thePlayer , cmd , arg) if getElementDimension(thePlayer) == 5456 then if ( isGuestAccount(getPlayerAccount ( thePlayer )) ) then return end local acc = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user.".. acc, aclGetGroup ( "Console" ) ) then outputChatBox("-------- "..getPlayerName(player).." ----- ") --killPed ( thePlayer ) setElementPosition(thePlayer, x, y, z) setElementDimension(thePlayer, dimension) end end end ) السطر الاول حط الاحداثيات الي راح ينقل الكونسل لها , والسطر الثاني حط العالم الوهمي -- وفيه شي غبي انه يقتل اللاعب وينقله بنفس الوقت كنسلت كود القتل ولاكن لو تبيه شيل العلامتين ذول Link to comment
^iiEcoo'x_) Posted August 8, 2016 Author Share Posted August 8, 2016 تسللم انا ابي ينقل كل الاعبين مب الاعب ينقل نفسه ! Link to comment
Abdul KariM Posted August 8, 2016 Share Posted August 8, 2016 local x,y,z = 0,0,0 local dimension = 0 addCommandHandler ( "1234", function (thePlayer , cmd , arg) if getElementDimension(thePlayer) == 5456 then if ( isGuestAccount(getPlayerAccount ( thePlayer )) ) then return end local acc = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user.".. acc, aclGetGroup ( "Console" ) ) then outputChatBox("-------- "..getPlayerName(player).." ----- ") --killPed ( thePlayer ) setElementPosition(thePlayer, x, y, z) setElementDimension(thePlayer, dimension) end end end ) السطر الاول حط الاحداثيات الي راح ينقل الكونسل لها , والسطر الثاني حط العالم الوهمي -- وفيه شي غبي انه يقتل اللاعب وينقله بنفس الوقت كنسلت كود القتل ولاكن لو تبيه شيل العلامتين ذول وماستخدمتها arg سطر 10 مانت معرف البلاير ومعرف بالنسبة لصاحب الموضوع ضيف تحت سطر 10 لوب وخلاص Link to comment
N3xT Posted August 8, 2016 Share Posted August 8, 2016 local x,y,z = 0,0,0 local dimension = 0 addCommandHandler ( "1234", function (thePlayer) if getElementDimension(thePlayer) == 5456 then if ( isGuestAccount(getPlayerAccount ( thePlayer )) ) then return end local acc = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user.".. acc, aclGetGroup ( "Console" ) ) then outputChatBox("-------- "..getPlayerName(thePlayer).." ----- ") --killPed ( thePlayer ) setElementPosition(thePlayer, x, y, z) setElementDimension(thePlayer, dimension) end 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