D7mas Posted August 26, 2017 Share Posted August 26, 2017 السلام عليكم ورحمة الله وبركاتة ,أخباركم يا شباب قلي السيرفر في مشكلة بالكلنت سيد حق ؟myGroupList ممكن تشوفوها addEvent("myGroupList", true) addEventHandler("myGroupList", root, function(Owner, members, data, color1, color2) guiGridListClear(MyGroup_Members_Grid) for i, group in pairs(members) do local row = guiGridListAddRow(MyGroup_Members_Grid) guiGridListSetItemText(MyGroup_Members_Grid , row, 1, group["member_name"] or "N/A", false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 2, group["member_account"], false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 3, group["member_rank"], false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 5, group["WL"].."%", false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 6, group["mute"] or "false", false, false) if group["last_online"] == data then guiGridListSetItemText(MyGroup_Members_Grid , row, 4, "Today", false, false) else guiGridListSetItemText(MyGroup_Members_Grid , row, 4, group["last_online"], false, false) end if group["member_status"] == "Yes" and data == group["last_online"] then -- r, g, b = 0,255,0 if Owner == group["member_account"] then r, g, b = 255, 255, 0 else r, g, b = 0, 255 ,0 end else r, g, b = 255,0,0 end guiGridListSetItemColor(MyGroup_Members_Grid, row, 1, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 2, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 3, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 4, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 5, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 6, r, g, b) end end) Link to comment
+Source|> Posted August 26, 2017 Share Posted August 26, 2017 2 minutes ago, D7mas said: السلام عليكم ورحمة الله وبركاتة ,أخباركم يا شباب قلي السيرفر في مشكلة بالكلنت سيد حق ؟myGroupList ممكن تشوفوها addEvent("myGroupList", true) addEventHandler("myGroupList", root, function(Owner, members, data, color1, color2) guiGridListClear(MyGroup_Members_Grid) for i, group in pairs(members) do local row = guiGridListAddRow(MyGroup_Members_Grid) guiGridListSetItemText(MyGroup_Members_Grid , row, 1, group["member_name"] or "N/A", false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 2, group["member_account"], false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 3, group["member_rank"], false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 5, group["WL"].."%", false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 6, group["mute"] or "false", false, false) if group["last_online"] == data then guiGridListSetItemText(MyGroup_Members_Grid , row, 4, "Today", false, false) else guiGridListSetItemText(MyGroup_Members_Grid , row, 4, group["last_online"], false, false) end if group["member_status"] == "Yes" and data == group["last_online"] then -- r, g, b = 0,255,0 if Owner == group["member_account"] then r, g, b = 255, 255, 0 else r, g, b = 0, 255 ,0 end else r, g, b = 255,0,0 end guiGridListSetItemColor(MyGroup_Members_Grid, row, 1, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 2, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 3, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 4, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 5, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 6, r, g, b) end end) ديبق وش يقول؟ Link to comment
D7mas Posted August 26, 2017 Author Share Posted August 26, 2017 2 minutes ago, A7MEDENO said: ديبق وش يقول؟ ERRROR :-Server triggered client event myGroupList, but event is not aded clientside Link to comment
+Source|> Posted August 26, 2017 Share Posted August 26, 2017 Just now, D7mas said: ERRROR :-Server triggered client event myGroupList, but event is not aded clientside ضع الحدث اللي فيه التريقر Link to comment
D7mas Posted August 26, 2017 Author Share Posted August 26, 2017 7 minutes ago, A7MEDENO said: ضع الحدث اللي فيه التريقر مو فاهم Link to comment
+Source|> Posted August 26, 2017 Share Posted August 26, 2017 Just now, D7mas said: مو فاهم التريقر حطه هنا Link to comment
D7mas Posted August 26, 2017 Author Share Posted August 26, 2017 4 minutes ago, A7MEDENO said: التريقر حطه هنا addEvent("Request_myGroup_MembersList", true) addEventHandler("Request_myGroup_MembersList", root, function(name) local data = data() local member = getGroupMembers(name) local Owner = getGroupOwner(name) local color1 = getGroupTurfColor(name) local color2 = getGroupChatColor(name) local result = dbPoll(dbQuery(db, "SELECT group_owner FROM groups"), -1) return triggerClientEvent(source, "myGroupList", source, Owner, member, data, color1, color2, result) end) Link to comment
+Source|> Posted August 26, 2017 Share Posted August 26, 2017 (edited) 2 minutes ago, D7mas said: addEvent("Request_myGroup_MembersList", true) addEventHandler("Request_myGroup_MembersList", root, function(name) local data = data() local member = getGroupMembers(name) local Owner = getGroupOwner(name) local color1 = getGroupTurfColor(name) local color2 = getGroupChatColor(name) local result = dbPoll(dbQuery(db, "SELECT group_owner FROM groups"), -1) return triggerClientEvent(source, "myGroupList", source, Owner, member, data, color1, color2, result) end) addEvent("Request_myGroup_MembersList", true) addEventHandler("Request_myGroup_MembersList", root, function(name) local data = data() local member = getGroupMembers(name) local Owner = getGroupOwner(name) local color1 = getGroupTurfColor(name) local color2 = getGroupChatColor(name) local result = dbPoll(dbQuery(db, "SELECT group_owner FROM groups"), -1) return triggerClientEvent(source, "myGroupList", source, Owner, members, data, color1, color2) end) جرب كدا Edited August 26, 2017 by A7MEDENO Link to comment
D7mas Posted August 26, 2017 Author Share Posted August 26, 2017 7 minutes ago, A7MEDENO said: جرب كدا ما زبط انت ايش غيرت بزبط؟ Link to comment
+Source|> Posted August 26, 2017 Share Posted August 26, 2017 addEvent("Request_myGroup_MembersList", true) addEventHandler("Request_myGroup_MembersList", root, function(name) local data = data() local member = getGroupMembers(name) local Owner = getGroupOwner(name) local color1 = getGroupTurfColor(name) local color2 = getGroupChatColor(name) local result = dbPoll(dbQuery(db, "SELECT group_owner FROM groups"), -1) return triggerClientEvent(source, "myGroupList", source, Owner, member, data, color1, color2, result) end) addEvent("myGroupList", true) addEventHandler("myGroupList", root, function(Owner, member, data, color1, color2, result) guiGridListClear(MyGroup_Members_Grid) for i, group in pairs(members) do local row = guiGridListAddRow(MyGroup_Members_Grid) guiGridListSetItemText(MyGroup_Members_Grid , row, 1, group["member_name"] or "N/A", false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 2, group["member_account"], false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 3, group["member_rank"], false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 5, group["WL"].."%", false, false) guiGridListSetItemText(MyGroup_Members_Grid , row, 6, group["mute"] or "false", false, false) if group["last_online"] == data then guiGridListSetItemText(MyGroup_Members_Grid , row, 4, "Today", false, false) else guiGridListSetItemText(MyGroup_Members_Grid , row, 4, group["last_online"], false, false) end if group["member_status"] == "Yes" and data == group["last_online"] then -- r, g, b = 0,255,0 if Owner == group["member_account"] then r, g, b = 255, 255, 0 else r, g, b = 0, 255 ,0 end else r, g, b = 255,0,0 end guiGridListSetItemColor(MyGroup_Members_Grid, row, 1, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 2, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 3, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 4, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 5, r, g, b) guiGridListSetItemColor(MyGroup_Members_Grid, row, 6, r, g, b) end end) جرب الكودين Link to comment
D7mas Posted August 26, 2017 Author Share Posted August 26, 2017 3 minutes ago, A7MEDENO said: جرب الكودين نفس المشكلة ما زبط Link to comment
1337.Ibrahim Posted August 26, 2017 Share Posted August 26, 2017 addEvent("Request_myGroup_MembersList", true) addEventHandler("Request_myGroup_MembersList", root, function(name) local data = data() local member = getGroupMembers(name) return triggerClientEvent(source, "myGroupList", source, member, data) end) جرب ي صاحب الموضوع @ Link to comment
D7mas Posted August 26, 2017 Author Share Posted August 26, 2017 43 minutes ago, Talis said: addEvent("Request_myGroup_MembersList", true)addEventHandler("Request_myGroup_MembersList", root,function(name) local data = data() local member = getGroupMembers(name) return triggerClientEvent(source, "myGroupList", source, member, data)end) جرب ي صاحب الموضوع @ نفس المشكلة Link to comment
Omoi Posted August 27, 2017 Share Posted August 27, 2017 حط الكلينت بالكامل والسيرفر ايضا Link to comment
D7mas Posted August 27, 2017 Author Share Posted August 27, 2017 6 hours ago, Omoi said: حط الكلينت بالكامل والسيرفر ايضا بوصل الكلنت 3الف سطر وال السيرفر400 الف اعطيكو لوحة القارد ليست ؟؟ هي كانت تشتغل بس انا غيرت حجمها Link to comment
D7mas Posted August 27, 2017 Author Share Posted August 27, 2017 شباب انا غيرت حجم لوحة القارد ليست عن الحجم الاصلي يمكن هاي المشكلة ؟؟؟؟ Link to comment
#BrosS Posted August 27, 2017 Share Posted August 27, 2017 Just now, D7mas said: شباب انا غيرت حجم لوحة القارد ليست عن الحجم الاصلي يمكن هاي المشكلة ؟؟؟؟ المشكلة من القارد ليست متأكد أنك عدلت حجم اللوحة فقط ؟ Link to comment
D7mas Posted August 27, 2017 Author Share Posted August 27, 2017 49 minutes ago, #BrosS said: المشكلة من القارد ليست متأكد أنك عدلت حجم اللوحة فقط ؟ يب انا اعدل حجمها بس وجرب اسويها مرتين خفت اني معدل شي ثاني بس , ما غيرت غيرها 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