-
Posts
1,388 -
Joined
-
Last visited
-
Days Won
14
Everything posted by +Source|>
-
تمام بس الحين المشكله بدي Access denied @ 'aclGroupAddObject'
-
ديبق يقول Bad argument @ getPlayerAccount[Expected element...] Bad argument @ isGuestAccount[Expected account...] Bad argument @ getPlayerAccount[Expected element...] Bad argument @ getAccountName[Expected account...] و Error بالاحمر في هذذا السطر if ( not isObjectInACLGroup ( 'user.'..getAccountName ( getPlayerAccount ( aPlayer_ ) ) , aclGetGroup ( 'Earrb' ) ) ) then
-
Bad argument @ ' getAccount [Expected xtring at argument ..... '
-
حق ايكو ما اشتغل حق ايكو يقول الخطا في if ( getAccount ( uAccount_ ) ) then
-
لم ينجح الديبق يقول مشكلة في local accName = getAccountName ( getPlayerAccount( txt ) ) if not isObjectInACLGroup( "user."..accName, aclGetGroup( "Earrb" ) ) then aclGroupAddObject( aclGetGroup( "Earrb" ), "user."..accName )
-
مو شغال الكود هذاا -- كلينت addEventHandler("onClientGUIClick", root, function() local txt = guiGetText( edit ) if source == ok then if txt == "" then outputChatBox( " الرجاء كتابة إسم الحساب ", 255, 0, 0, true ) return end triggerServerEvent( "send", localPlayer, txt ) end end ) -- سيرفر addEvent("send", true) addEventHandler("send", root, function( txt ) local accName = getAccountName ( getPlayerAccount( txt ) ) if not isGuestAccount( accName ) then if not isObjectInACLGroup( "user."..accName, aclGetGroup( "Earrb" ) ) then if tonumber( getPlayerMoney( source ) ) >= tonumber( 3000000 ) then takePlayerMoney( source, tonumber( 3000000 ) ) aclGroupAddObject( aclGetGroup( "Earrb" ), "user."..accName ) playSoundFrontEnd( source, 43 ) else outputChatBox( " 3000000 $ أنت لا تملك ", source, 255, 0, 0, true ) end end end end ) اتمنى الحل
-
ابي لما اللاعب يكتب اسمه في الايديت بوكس يجي اسمه في الجريد ليست محاولاتي الفااااشلة --سيرفر addEvent("send", true) addEventHandler("send", root, function( txt ) local acc = getPlayerAccount( source ) if not isGuestAccount( acc ) then if tonumber( getPlayerMoney( source ) ) >= tonumber( 3000000 ) then takePlayerMoney( source, tonumber( 3000000 ) ) setAccountData( acc, "save", txt ) playSoundFrontEnd( source, 42 ) outputChatBox( " تـم إرسال الحساب | الرجاء الانتظار مدة بين ساعه و 24 ساعه ", source, 255, 255, 0, true ) end end end ) addEvent("get", true) addEventHandler("get", root, function( player ) local acc = getPlayerAccount( player ) getAccountData( acc, "save", player ) end ) -- كلنت addEventHandler("onClientGUIClick", troot, function() local txt = guiGetText( edit ) if source == ok then if txt == "" then outputChatBox( " الرجاء كتابة إسم الحساب ", 255, 0, 0, true ) return end triggerServerEvent( "send", localPlayer, txt ) end end ) rr = triggerServerEvent( "get", localPlayer ) function refresh () guiGridListClear( grd ) for i,v in ipairs ( rr ) do local row = guiGridListAddRow( grd ) guiGridListSetItemText( grd, row, 1, tostring( rr ( v ) ), false, false ) end end
-
ايوووووه الحين هاذييي executeSQLQuery مو فاهمها اقولك اللي مو فاهمه فيها لحين الكلام اللي داخل هذا هل هو ثابت يتغير من مود لمود الكلام هذذا executeSQLQuery("CREATE TABLE IF NOT EXISTS players (clothes_head_texture TEXT, clothes_head_model TEXT, name TEXT)") او executeSQLQuery("DELETE FROM players WHERE name=?", playerName) ؟؟؟؟؟
-
يب دورت مالقيت او اني مب عارف اسمها اف ١
-
ماظبط ابي لما اللاعب يموت السلاح اللي معه ما يطيح منه لانه لما يموت في التكتيك السلاح يطي ويضل يطفو عالارض
-
اسمع دور على الأربع سطور ذي bindKey("i","down","chatbox","gc") -- تقريبا سطر 1162 unbindKey("i","down","chatbox","gc") -- تقريبا سطر 1180 bindKey("i","down","chatbox","gc") -- تقريبا سطر 1332 unbindKey("i","down","chatbox","gc") -- تقريبا سطر 1350 gc تشوف كلمة في الاربع سطور بدلها بكلمة GroupChat
-
اتفق معك لكن انا لما عدلت عليه وكل شي ظهر بالاخير للوحه فقط بدون زر ول ايدت بوكس سوبههان الله
-
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) جرب الكودين
-
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) جرب كدا
-
ضع الحدث اللي فيه التريقر