السلام عليكم
شباب ابي الوحه تفتح للكونسل
والمشكله الاكواد سيرفرر
وش الحل ؟
addCommandHandler("Cons",
function ( player )
local accName = getAccountName(getPlayerAccount(player))
if isObjectInACLGroup("user."..accName, aclGetGroup("Console")) then
if guiGetVisible ( GUIEditor.window[1] ) then
guiSetVisible ( GUIEditor.window[1], false )
guiSetVisible ( GUIEditor.window[2], false )
showCursor(false)
else
guiSetVisible ( GUIEditor.window[1], true )
guiSetVisible ( GUIEditor.window[2], false )
showCursor(true)
end
else
outputChatBox ( "فقط الكونسل ", source, 20,230,249, true )
end
end)
بليز سريع شباب