w7sH Posted June 1, 2016 Posted June 1, 2016 السلام عليكم انا عندي مشكله مع المود حق جراند هو قال ضيف هذا الكود تحت التاج حقك عشان م يسبب تكرار مع تغير التاج local systemDBconnect = dbConnect( 'sqlite', ':TagsSystem-Professional_v01/[TAGS system] Database.db' ) local checkTag = dbQuery( systemDBconnect, ' SELECT * FROM `TagsSystemPro` WHERE serial = ? ', getPlayerSerial( source ) ) local dbValues = dbPoll( checkTag, -1 ) if ( type( dbValues ) == 'table' and #dbValues ~= 0 ) then local state = dbValues[1]['state'] if ( state == 'Enabled' ) then return end end ضفته كذا ل مود التاج حقي ولا ضبط colorHex = function (r,g,b) return string.format("#%.2X%.2X%.2X",r,g,b) end outputChatBox('',root,150,150,150,true) addEventHandler('onPlayerChat',root, function(text,type) local systemDBconnect = dbConnect( 'sqlite', ':TagsSystem-Professional_v01/[TAGS system] Database.db' ) local checkTag = dbQuery( systemDBconnect, ' SELECT * FROM `TagsSystemPro` WHERE serial = ? ', getPlayerSerial( source ) ) local dbValues = dbPoll( checkTag, -1 ) if ( type( dbValues ) == 'table' and #dbValues ~= 0 ) then local state = dbValues[1]['state'] if ( state == 'Enabled' ) then return end end cancelEvent() for i,v in pairs(Tags) do if ( string.find(text,v) ) then cancelEvent() return outputChatBox('error',source,255,0,0,true) end end if ( isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(source)),aclGetGroup('Console')) ) then cancelEvent() return outputChatBox(' '..getPlayerName(source)..''..text..'',root,255,255,255,true) end
w7sH Posted June 4, 2016 Author Posted June 4, 2016 وش امسح التاجات انا حاط المود للتاجات انا عندي مشكله فالتاجات ابيك تعدل ع مود التاجات عشان يشتغل
w7sH Posted June 4, 2016 Author Posted June 4, 2016 timer = {} addCommandHandler("77", function (player) if hasObjectPermissionTo(player,"command.mute",true) then if isTimer(timer[player]) then outputChatBox("",player,255,0,0) return end for i=1,40 do outputChatBox(" ") end outputChatBox(" " .. getPlayerName(player) .. "",root,255,0,0,true) timer[player] = setTimer(function () end,5000,1) else outputChatBox("",player,255,0,0) end end ) local Tags = { } local flood = { } colorHex = function (r,g,b) return string.format("#%.2X%.2X%.2X",r,g,b) end outputChatBox('!',root,150,150,150,true) addEventHandler('onPlayerChat',root, function(text,type) cancelEvent() for i,v in pairs(Tags) do if ( string.find(text,v) ) then cancelEvent() return outputChatBox(' ',source,255,0,0,true) end end if ( isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(source)),aclGetGroup('Console')) ) then cancelEvent() return outputChatBox('Admin: '..getPlayerName(source)..': '..text..'',root,255,255,255,true) end end) هذا كامل
w7sH Posted June 10, 2016 Author Posted June 10, 2016 ي شباب انا اذا ضفت الكود للمود م اشتغل وش المشكله ي ليت احد يعطيني حل؟؟ واكون شاكر له
Abdul KariM Posted June 10, 2016 Posted June 10, 2016 طيب جرب بغير تاج , ان ضبط استخدمه كذا المشكلة من السكربت حقك , وان ماضبط كلم صاحب السكربت الي تقول عنه
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