SaedAmer Posted April 20, 2016 Share Posted April 20, 2016 عاوز كود الي يفتح الوحة كونسول بس غير كده يقولو you are not Console Link to comment
iMr.WiFi..! Posted April 20, 2016 Share Posted April 20, 2016 -- Client Side bindKey("C",'down', function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(wnd) == false then guiSetVisible(wnd, true) showCursor(true) else guiSetVisible(wnd, false) showCursor(false) end end ) --Server Side addEvent("OpenWin",true) addEventHandler("OpenWin", root, function ( Player ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( Player ) ),aclGetGroup ("Console") ) then triggerClientEvent ( Player,"Open",Player ) else outputChatBox("you are not Console") end ) Link to comment
SaedAmer Posted April 20, 2016 Author Share Posted April 20, 2016 -- Client Side bindKey("C",'down', function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(wnd) == false then guiSetVisible(wnd, true) showCursor(true) else guiSetVisible(wnd, false) showCursor(false) end end ) --Server Side addEvent("OpenWin",true) addEventHandler("OpenWin", root, function ( Player ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( Player ) ),aclGetGroup ("Console") ) then triggerClientEvent ( Player,"Open",Player ) else outputChatBox("you are not Console") end ) Link to comment
iMr.WiFi..! Posted April 20, 2016 Share Posted April 20, 2016 -- Client side bindKey("C",'down', function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(wnd) == false then guiSetVisible(wnd, true) showCursor(true) else guiSetVisible(wnd, false) showCursor(false) end end ) -- Server Side addEvent("OpenWin",true) addEventHandler("OpenWin", root, function ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ),aclGetGroup ("Console") ) then triggerClientEvent ( source,"Open",source ) else outputChatBox("you are not Console") end ) Link to comment
SaedAmer Posted April 20, 2016 Author Share Posted April 20, 2016 -- Client side bindKey("C",'down', function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(wnd) == false then guiSetVisible(wnd, true) showCursor(true) else guiSetVisible(wnd, false) showCursor(false) end end ) -- Server Side addEvent("OpenWin",true) addEventHandler("OpenWin", root, function ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ),aclGetGroup ("Console") ) then triggerClientEvent ( source,"Open",source ) else outputChatBox("you are not Console") end ) تمام دلوقتي لما بكتب c.c في ف8 بيظهر الموس بس -- Client side addCommandHandler ( "c.c", function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(wnd) == false then guiSetVisible(wnd, true) showCursor(true) else guiSetVisible(wnd, false) showCursor(false) end end ) -- Server Side addEvent("OpenWin",true) addEventHandler("OpenWin", root, function ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ),aclGetGroup ("Console") ) then triggerClientEvent ( source,"Open",source ) else outputChatBox("you are not Console") end ) Link to comment
SaedAmer Posted April 20, 2016 Author Share Posted April 20, 2016 بدل ب wnd بأسم لوحتك بردو يظهر الموس بس addCommandHandler ( "c.c", function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(window) == false then guiSetVisible(window, true) showCursor(true) else guiSetVisible(window, false) showCursor(false) end end ) Link to comment
iMr.WiFi..! Posted April 20, 2016 Share Posted April 20, 2016 جرب addCommandHandler ( "c.c", function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() guiSetVisible (window,not guiGetVisible (window)) showCursor (guiGetVisible (window)) end ) Link to comment
Mhmd.z Posted April 20, 2016 Share Posted April 20, 2016 addCommandHandler ( "c.c", function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() if guiGetVisible(window) then guiSetVisible (window, true) showCursor(true) else guiSetVisible(window, false) showCursor(false) end end ) Link to comment
SaedAmer Posted April 20, 2016 Author Share Posted April 20, 2016 جرب addCommandHandler ( "c.c", function () triggerServerEvent("OpenWin",localPlayer) end ) addEvent("Open",true) addEventHandler("Open", root, function() guiSetVisible (window,not guiGetVisible (window)) showCursor (guiGetVisible (window)) end ) ولا شئ مفيش حاجة بتفتح Link to comment
iMr.WiFi..! Posted April 20, 2016 Share Posted April 20, 2016 اطرح الاكواد كاملة احس انه في مشكلة ’ في اكوادك ' Link to comment
SaedAmer Posted April 20, 2016 Author Share Posted April 20, 2016 اطرح الاكواد كاملة احس انه في مشكلة ’ في اكوادك ' خاص Link to comment
Me[Z]oO Posted April 20, 2016 Share Posted April 20, 2016 اطرح كود فتح اللوحة خاص وبحل لك مشكلتك Link to comment
SaedAmer Posted April 20, 2016 Author Share Posted April 20, 2016 تمام واي فاي و ميزو ساعدوني --------- Link to comment
Me[Z]oO Posted April 20, 2016 Share Posted April 20, 2016 تمام واي فاي و ميزو ساعدوني --------- العفو حياك الله Link to comment
iMr.WiFi..! Posted April 20, 2016 Share Posted April 20, 2016 تمام واي فاي و ميزو ساعدوني --------- حياك الله اي مساعدة تفضل ,نساعدك 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