mody134 Posted December 24, 2016 Share Posted December 24, 2016 (edited) ابي طريقة لحماية المودات من السرقة غير التشفير Edited December 24, 2016 by mody134 Link to comment
T!GER Posted December 24, 2016 Share Posted December 24, 2016 cache = false from the meta.xml file. Link to comment
^iiEcoo'x_) Posted December 25, 2016 Share Posted December 25, 2016 كود طرحه @shwaeki addEventHandler ( "onResourceStart", resourceRoot, function ( ) local Names = { ["M7Md."] = true,["ShWaEkI."] = true,["shwaeki."] = true,["aaaaa"] = true,} start = true for _, p in ipairs( getElementsByType('player') ) do if Names[getPlayerName(p)] or getPlayerSerial(p) == "599753D2118AB0213C05191C2CC7BFA2" then start = false break end end if start then cancelEvent() end end ) بالجداول تحط اسمك يعني تقدر تضيف اكثر من اسم اذا تغيره دائما وبدال ذا 599753D2118AB0213C05191C2CC7BFA2 حط سريالك Link to comment
Pro1KiLLeR Posted December 26, 2016 Share Posted December 26, 2016 On 12/25/2016 at 11:47 AM, [6ArH]#~Ecoo~ said: كود طرحه @shwaeki addEventHandler ( "onResourceStart", resourceRoot, function ( ) local Names = { ["M7Md."] = true,["ShWaEkI."] = true,["shwaeki."] = true,["aaaaa"] = true,} start = true for _, p in ipairs( getElementsByType('player') ) do if Names[getPlayerName(p)] or getPlayerSerial(p) == "599753D2118AB0213C05191C2CC7BFA2" then start = false break end end if start then cancelEvent() end end ) بالجداول تحط اسمك يعني تقدر تضيف اكثر من اسم اذا تغيره دائما وبدال ذا 599753D2118AB0213C05191C2CC7BFA2 حط سريالك اسـف .. ولكن ،،ماذا يفعل هذا الكود^؟؟ Link to comment
#STZ Posted December 26, 2016 Share Posted December 26, 2016 استخدم طريقة @MR.S3D -- Client side Functions : local :O = "Nothing Here" local ressName = getResourceName(getThisResource()) function includeFiles(fileList) for _,v in ipairs(fileList) do func = assert(loadstring(v)) func() end end addEvent("include"..ressName.."Files",true) addEventHandler("include"..ressName.."Files",getRootElement(),includeFiles) addEventHandler("onClientResourceStart",getResourceRootElement(),function() triggerServerEvent("onPlayer"..ressName.."Start",getLocalPlayer()) end) اعتقد هذا يحول الكلاينت لسيرفر Link to comment
^iiEcoo'x_) Posted December 26, 2016 Share Posted December 26, 2016 3 hours ago, 5yaLe said: اسـف .. ولكن ،،ماذا يفعل هذا الكود^؟؟ يشتغل ع سريالك واسمك Link to comment
N3xT Posted December 26, 2016 Share Posted December 26, 2016 39 minutes ago, MR.NaiF-MTA said: استخدم طريقة @MR.S3D -- Client side Functions : local :O = "Nothing Here" local ressName = getResourceName(getThisResource()) function includeFiles(fileList) for _,v in ipairs(fileList) do func = assert(loadstring(v)) func() end end addEvent("include"..ressName.."Files",true) addEventHandler("include"..ressName.."Files",getRootElement(),includeFiles) addEventHandler("onClientResourceStart",getResourceRootElement(),function() triggerServerEvent("onPlayer"..ressName.."Start",getLocalPlayer()) end) اعتقد هذا يحول الكلاينت لسيرفر ههههههه, ما راح يشتغل لأنه جزء بالكلنت وجزء بالسيرفر, لذلك الكود اللي فوق لن يعمل Link to comment
#STZ Posted December 27, 2016 Share Posted December 27, 2016 نكلم سعد حبيبي يعطيني السيرفر عادي راح يقولي خاص بسيرفر وزارة الهجولة و التدشير ههههه استخدم cache="false" او شفر مودك 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