Jump to content

كود --


Recommended Posts

  
-- 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
  
-- 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 
) 
  

146115400093441.png

Link to comment
  
-- 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
  
-- 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
بدل ب

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
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
جرب
  
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...