SycroX Posted September 3, 2015 Author Share Posted September 3, 2015 طيب فهمت بس الحين كيف اوقف الشات بوكس له ايفنت او فانكشن ؟ Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 وكأنك يبو زيد ما غزيت يعدل على كود السبورت شات ويسوي تحقق قبل أظهار الشات يسوي تحقق أن الشيك بوكس أختاره ولا لا ذذذذ guiCheckBoxGetSelected ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ Link to comment
SycroX Posted September 3, 2015 Author Share Posted September 3, 2015 انا فاهم function checkboxBleepWhenClicked() if ( getElementType(source) == "gui-checkbox" ) then -- Is the element clicked a checkbox? if ( guiCheckBoxGetSelected(source) ) then playSoundFrontEnd(1) -- If the checkbox is selected play sound 1. else playSoundFrontEnd(2) -- If the checkbox isn't selected play sound 2. end end end addEventHandler("onClientGUIClick", root, checkboxBleepWhenClicked, false) فاهم دي وش معناها بس دي للأصوات يعني لو الجاي شك بوكس منداس عليه تسوي صوت 1 و لو انشال تسوي صوت 2 الحين انا ابي اغير صوت 1 و 2 لي انها لما ادوس علها تخفي الشات و لما اشلها ترجعه Link to comment
#StrOnG_,) Posted September 3, 2015 Share Posted September 3, 2015 طيب فهمت بس الحين كيف اوقف الشات بوكس له ايفنت او فانكشن ؟ ** يعدل على كود السبورت شات ويسوي تحقق قبل أظهار الشات يسوي تحقق أن الشيك بوكس أختاره ولا لا ذذذذ guiCheckBoxGetSelected ** واسمه فنكشن مو فانكشن أعتقد عندي فكرة أحسن لكن ما ادري إذا تنجح أو لا الفكرة هي : تخليه من يختار الشيء من الشيك بوكس يسوي حذف للقريد ليست الي هو الشات يعني تسوي تايمر كل شوي يحذف القريد ليست كل ثانية بس تسوي لاق اعتقد Link to comment
#StrOnG_,) Posted September 3, 2015 Share Posted September 3, 2015 انا فاهم function checkboxBleepWhenClicked() if ( getElementType(source) == "gui-checkbox" ) then -- Is the element clicked a checkbox? if ( guiCheckBoxGetSelected(source) ) then playSoundFrontEnd(1) -- If the checkbox is selected play sound 1. else playSoundFrontEnd(2) -- If the checkbox isn't selected play sound 2. end end end addEventHandler("onClientGUIClick", root, checkboxBleepWhenClicked, false) فاهم دي وش معناها بس دي للأصوات يعني لو الجاي شك بوكس منداس عليه تسوي صوت 1 و لو انشال تسوي صوت 2 الحين انا ابي اغير صوت 1 و 2 لي انها لما ادوس علها تخفي الشات و لما اشلها ترجعه أنت سويه زي ما تبي Link to comment
SycroX Posted September 3, 2015 Author Share Posted September 3, 2015 طيب وش كود اخفاء جريد لست ؟ Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 أقولككـ أطرح كود السبورت سيستيم بس تلقآه الحين يقول مشفر ^ Link to comment
SycroX Posted September 3, 2015 Author Share Posted September 3, 2015 لا اخي الي مسويه حبي + لو طرحته يضيع تعب ايام هطرح الجريد لست gridlist = guiCreateGridList(9, 23, 641, 401, false, wnd) guiGridListAddColumn(gridlist, "Messages", 1) addEvent("Send_Support_Msg", true) addEventHandler("Send_Support_Msg", root, function (Msg, hour, minute, second) local rooow = guiGridListAddRow(gridlist) local player = getPlayerName(localPlayer) local playerName = getPlayerName(source) guiGridListSetItemText (gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) guiGridListSetItemText (gridlist, rooow, 2, playerName..":", false, false) guiGridListSetItemText (gridlist, rooow, 3, Msg, false, false) guiGridListSetItemColor(gridlist, rooow, 1, 255, 200, 0) guiGridListSetItemColor(gridlist, rooow, 2, 255, 200, 0) guiGridListSetItemColor(gridlist, rooow, 3, 255, 200, 0) if guiCheckBoxGetSelected(showinchat) == true then outputChatBox("*[support System] [support] "..playerName..": "..Msg, 255, 200, 0) end if guiCheckBoxGetSelected(play_sound) == true then playSoundFrontEnd(16) end end addEvent("Send_Player_Msg", true) addEventHandler("Send_Player_Msg",root, function (Msg, hour, minute, second) local rooow = guiGridListAddRow(gridlist) local selectedPlayer = guiGridListGetItemText(online,guiGridListGetSelectedItem(online),1) local player = getPlayerName(localPlayer) local playerName = getPlayerName(source) guiGridListSetItemText(gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) guiGridListSetItemText(gridlist, rooow, 2, playerName..":", false, false) guiGridListSetItemText(gridlist, rooow, 3, Msg, false, false) guiGridListSetItemColor(gridlist, rooow, 1, 255, 0, 0) guiGridListSetItemColor(gridlist, rooow, 2, 255, 0, 0) guiGridListSetItemColor(gridlist, rooow, 3, 255, 0, 0) if guiCheckBoxGetSelected(showinchat) == true then outputChatBox("*[support System] [Player] "..playerName..": "..Msg, 255, 0, 0) end if guiCheckBoxGetSelected(play_sound) == true then playSoundFrontEnd(16) end end Link to comment
#StrOnG_,) Posted September 3, 2015 Share Posted September 3, 2015 طيب وش كود اخفاء جريد لست ؟ guiGridListClear Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 (edited) طيب وش كود اخفاء جريد لست ؟ guiGridListClear ^ @ V#AhMeD,-09 الكود الي حآطه ناقص أقواس وناقص اندات مستحيل يشتغل أطرح لي كود أنشاء الشيك بوكس الي يظهر الشات وكود أظهار الشات الرسالة يعني Edited September 3, 2015 by Guest Link to comment
#StrOnG_,) Posted September 3, 2015 Share Posted September 3, 2015 (edited) لا اخي الي مسويه حبي + لو طرحته يضيع تعب ايام هطرح الجريد لست gridlist = guiCreateGridList(9, 23, 641, 401, false, wnd) guiGridListAddColumn(gridlist, "Messages", 1) addEvent("Send_Support_Msg", true) addEventHandler("Send_Support_Msg", root, function (Msg, hour, minute, second) local rooow = guiGridListAddRow(gridlist) local player = getPlayerName(localPlayer) local playerName = getPlayerName(source) guiGridListSetItemText (gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) guiGridListSetItemText (gridlist, rooow, 2, playerName..":", false, false) guiGridListSetItemText (gridlist, rooow, 3, Msg, false, false) guiGridListSetItemColor(gridlist, rooow, 1, 255, 200, 0) guiGridListSetItemColor(gridlist, rooow, 2, 255, 200, 0) guiGridListSetItemColor(gridlist, rooow, 3, 255, 200, 0) if guiCheckBoxGetSelected(showinchat) == true then outputChatBox("*[support System] [support] "..playerName..": "..Msg, 255, 200, 0) end if guiCheckBoxGetSelected(play_sound) == true then playSoundFrontEnd(16) end end addEvent("Send_Player_Msg", true) addEventHandler("Send_Player_Msg",root, function (Msg, hour, minute, second) local rooow = guiGridListAddRow(gridlist) local selectedPlayer = guiGridListGetItemText(online,guiGridListGetSelectedItem(online),1) local player = getPlayerName(localPlayer) local playerName = getPlayerName(source) guiGridListSetItemText(gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) guiGridListSetItemText(gridlist, rooow, 2, playerName..":", false, false) guiGridListSetItemText(gridlist, rooow, 3, Msg, false, false) guiGridListSetItemColor(gridlist, rooow, 1, 255, 0, 0) guiGridListSetItemColor(gridlist, rooow, 2, 255, 0, 0) guiGridListSetItemColor(gridlist, rooow, 3, 255, 0, 0) if guiCheckBoxGetSelected(showinchat) == true then outputChatBox("*[support System] [Player] "..playerName..": "..Msg, 255, 0, 0) end if guiCheckBoxGetSelected(play_sound) == true then playSoundFrontEnd(16) end end ههههههههههههههه اخوك ما يعرف يسوي كود فتح اللوحة بزر ومسوي سبورت سستم بالله ؟؟؟ قول الحقيقة توك مسوي اللوحة وتبي أكواد جاهزة Edited September 3, 2015 by Guest Link to comment
#StrOnG_,) Posted September 3, 2015 Share Posted September 3, 2015 طيب وش كود اخفاء جريد لست ؟ guiGridListClear ^ @ V#AhMeD,-09 الكود الي حآطه ناقص أقواس وناقص اندات مستحيل يشتغل أطرح لي كود أنشاء الشيك بوكس الي يظهر الشات وكود أظهار الشات الرسالة يعني ? Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 ? الفنكشن الي حآطه تدري آيش يسوي؟ Link to comment
#StrOnG_,) Posted September 3, 2015 Share Posted September 3, 2015 ? الكود الي حآطه تدري آيش يسوي؟ اها توي فهمت وظيفة الفنكشن Link to comment
SycroX Posted September 3, 2015 Author Share Posted September 3, 2015 سفاح لا تتكلم علي اخوي هيك + انا مو معطيك السبورت كاملة + شوف اسم السيرفر الي فوقها و روح شوفه و هتعرف كيف شكلها Link to comment
#StrOnG_,) Posted September 3, 2015 Share Posted September 3, 2015 سفاح لا تتكلم علي اخوي هيك+ انا مو معطيك السبورت كاملة + شوف اسم السيرفر الي فوقها و روح شوفه و هتعرف كيف شكلها شوف وش قالك فوق ما قال اعطيني المود كامل Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 سفاح لا تتكلم علي اخوي هيك+ انا مو معطيك السبورت كاملة + شوف اسم السيرفر الي فوقها و روح شوفه و هتعرف كيف شكلها ؟ What? Link to comment
SycroX Posted September 3, 2015 Author Share Posted September 3, 2015 Server -------------------- addEvent("Request_Message", true) addEventHandler("Request_Message", root, function (Msg) acc = getAccountName(getPlayerAccount(source)) local time = getRealTime () local hour = time.hour local minute = time.minute local second = time.second if isObjectInACLGroup ( "user.1"..acc, aclGetGroup("Console")) or isObjectInACLGroup ( "user.1"..acc, aclGetGroup("Admin")) or isObjectInACLGroup ( "user.1"..acc, aclGetGroup("Support")) or isObjectInACLGroup ( "user.1"..acc, aclGetGroup("LVL1")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL2")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL3")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL4")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("LVL5")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Leader")) or isObjectInACLGroup ( "user."..acc, aclGetGroup("Manager")) then triggerClientEvent(root, "Send_Support_Msg", source, Msg, hour, minute, second) else triggerClientEvent(root, "Send_Player_Msg", source, Msg, hour, minute, second) end end ) الي فوق سيرفر الي تحت كلنت gridlist = guiCreateGridList(9, 23, 641, 401, false, wnd) guiGridListAddColumn(gridlist, "Messages", 1) bindKey("F5", "down", function () if guiGetVisible(wnd1) == true then guiSetVisible(wnd1, false) guiSetVisible(Rules_Window, false) guiSetVisible(Mute_Window, false) guiSetInputEnabled(false) elseif not isCursorShowing () then guiSetVisible(wnd1, true) guiSetInputEnabled(true) end end ) addEvent("Send_Support_Msg", true) addEventHandler("Send_Support_Msg", root, function (Msg, hour, minute, second) local rooow = guiGridListAddRow(gridlist) local player = getPlayerName(localPlayer) local playerName = getPlayerName(source) guiGridListSetItemText (gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) guiGridListSetItemText (gridlist, rooow, 2, playerName..":", false, false) guiGridListSetItemText (gridlist, rooow, 3, Msg, false, false) guiGridListSetItemColor(gridlist, rooow, 1, 255, 200, 0) guiGridListSetItemColor(gridlist, rooow, 2, 255, 200, 0) guiGridListSetItemColor(gridlist, rooow, 3, 255, 200, 0) if guiCheckBoxGetSelected(showinchat) == true then outputChatBox("*[support System] [support] "..playerName..": "..Msg, 255, 200, 0) end if guiCheckBoxGetSelected(play_sound) == true then playSoundFrontEnd(16) end end ) addEvent("Send_Player_Msg", true) addEventHandler("Send_Player_Msg",root, function (Msg, hour, minute, second) local rooow = guiGridListAddRow(gridlist) local selectedPlayer = guiGridListGetItemText(online,guiGridListGetSelectedItem(online),1) local player = getPlayerName(localPlayer) local playerName = getPlayerName(source) guiGridListSetItemText(gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) guiGridListSetItemText(gridlist, rooow, 2, playerName..":", false, false) guiGridListSetItemText(gridlist, rooow, 3, Msg, false, false) guiGridListSetItemColor(gridlist, rooow, 1, 255, 0, 0) guiGridListSetItemColor(gridlist, rooow, 2, 255, 0, 0) guiGridListSetItemColor(gridlist, rooow, 3, 255, 0, 0) if guiCheckBoxGetSelected(showinchat) == true then outputChatBox("*[support System] [Player] "..playerName..": "..Msg, 255, 0, 0) end if guiCheckBoxGetSelected(play_sound) == true then playSoundFrontEnd(16) end end ) تفضل كامل Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 بدل الكلنت سآيد -- # Client Side : gridlist = guiCreateGridList(9, 23, 641, 401, false, wnd) guiGridListAddColumn(gridlist, "Messages", 1) bindKey("F5", "down", function () if guiGetVisible(wnd1) == true then guiSetVisible(wnd1, false) guiSetVisible(Rules_Window, false) guiSetVisible(Mute_Window, false) guiSetInputEnabled(false) elseif not isCursorShowing () then guiSetVisible(wnd1, true) guiSetInputEnabled(true) end end ) addEvent("Send_Support_Msg", true) addEventHandler("Send_Support_Msg", root, function (Msg, hour, minute, second) local rooow = guiGridListAddRow(gridlist) local player = getPlayerName(localPlayer) local playerName = getPlayerName(source) if guiCheckBoxGetSelected(lolCheck) == false then guiGridListSetItemText (gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) guiGridListSetItemText (gridlist, rooow, 2, playerName..":", false, false) guiGridListSetItemText (gridlist, rooow, 3, Msg, false, false) guiGridListSetItemColor(gridlist, rooow, 1, 255, 200, 0) guiGridListSetItemColor(gridlist, rooow, 2, 255, 200, 0) guiGridListSetItemColor(gridlist, rooow, 3, 255, 200, 0) if guiCheckBoxGetSelected(showinchat) == true then outputChatBox("*[support System] [support] "..playerName..": "..Msg, 255, 200, 0) end if guiCheckBoxGetSelected(play_sound) == true then playSoundFrontEnd(16) end end end ) addEvent("Send_Player_Msg", true) addEventHandler("Send_Player_Msg",root, function (Msg, hour, minute, second) local rooow = guiGridListAddRow(gridlist) local selectedPlayer = guiGridListGetItemText(online,guiGridListGetSelectedItem(online),1) local player = getPlayerName(localPlayer) local playerName = getPlayerName(source) guiGridListSetItemText(gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) guiGridListSetItemText(gridlist, rooow, 2, playerName..":", false, false) guiGridListSetItemText(gridlist, rooow, 3, Msg, false, false) guiGridListSetItemColor(gridlist, rooow, 1, 255, 0, 0) guiGridListSetItemColor(gridlist, rooow, 2, 255, 0, 0) guiGridListSetItemColor(gridlist, rooow, 3, 255, 0, 0) if guiCheckBoxGetSelected(showinchat) == true then outputChatBox("*[support System] [Player] "..playerName..": "..Msg, 255, 0, 0) end if guiCheckBoxGetSelected(play_sound) == true then playSoundFrontEnd(16) end end ) بإسم التشيك بوكس حق أظهار وأخفاء الشات lolCheck سطر 28 بدل كلمة Link to comment
SycroX Posted September 3, 2015 Author Share Posted September 3, 2015 guiGridListSetItemText (gridlist, rooow, 1, "["..hour..":"..minute..":"..second.."]", false, false) هاد ؟ ما في كلمة بإسم التشيك بوكس حق أظهار وأخفاء الشات lolCheck سطر 28 بدل كلمة Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 if guiCheckBoxGetSelected(lolCheck) == false then هذآ ذذذ lolCheck Link to comment
SycroX Posted September 3, 2015 Author Share Posted September 3, 2015 if guiCheckBoxGetSelected(lolCheck) == false then ابدلها باسمو فلأتنين ؟ بلاير و سبورت Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 if guiCheckBoxGetSelected(lolCheck) == false then ابدلها باسمو فلأتنين ؟ بلاير و سبورت مافهمتك؟ لأسم الشيك بوكس حق أظهار وأخفاء الشات ذذ lolCheck بدل كلمة Link to comment
iMr.SFA7 Posted September 3, 2015 Share Posted September 3, 2015 بدلت تمآم ضبط؟ المفروض أنت تكون مسوي الشيك بوكس قبل كل شيء = / Link to comment
Recommended Posts