w7sH Posted June 1, 2016 Share 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 Link to comment
iMr.WiFi..! Posted June 2, 2016 Share Posted June 2, 2016 شوف موضوعه اقين لانه كان في بق او شيء زي كذا Link to comment
w7sH Posted June 2, 2016 Author Share Posted June 2, 2016 المشكله عندي اذا حطيت الكود خربت التاجات Link to comment
iMr.WiFi..! Posted June 2, 2016 Share Posted June 2, 2016 لا تضيف الكود امسحة ورد الخبر Link to comment
w7sH Posted June 2, 2016 Author Share Posted June 2, 2016 مسحت الكود والآن يكرر الكلام Link to comment
w7sH Posted June 4, 2016 Author Share Posted June 4, 2016 وش امسح التاجات انا حاط المود للتاجات انا عندي مشكله فالتاجات ابيك تعدل ع مود التاجات عشان يشتغل Link to comment
iMr.WiFi..! Posted June 4, 2016 Share Posted June 4, 2016 طيب مود التاجات حقك مو كامل Link to comment
w7sH Posted June 4, 2016 Author Share 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) هذا كامل Link to comment
w7sH Posted June 10, 2016 Author Share Posted June 10, 2016 ي شباب انا اذا ضفت الكود للمود م اشتغل وش المشكله ي ليت احد يعطيني حل؟؟ واكون شاكر له Link to comment
Abdul KariM Posted June 10, 2016 Share Posted June 10, 2016 طيب جرب بغير تاج , ان ضبط استخدمه كذا المشكلة من السكربت حقك , وان ماضبط كلم صاحب السكربت الي تقول عنه Link to comment
w7sH Posted June 11, 2016 Author Share Posted June 11, 2016 نعم المشكله من السكربت حقي كيف احلها؟ 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