Rockyz Posted August 11, 2015 Share Posted August 11, 2015 (edited) السلام عليكم ابي كود يمنع تغيير اسم المود مثلا اسم مودي Warp اذا غيره مايشتغل Edited August 11, 2015 by Guest Link to comment
H25 Posted August 11, 2015 Share Posted August 11, 2015 addEventHandler("onResourceStart", resourceRoot, function (res) if getResourceName(res) ~= "resourceName" then cancelEvent() end end ) غير الـ resourceName لاسم المود Link to comment
Rockyz Posted August 11, 2015 Author Share Posted August 11, 2015 addEventHandler("onResourceStart", resourceRoot, function (res) if getResourceName(res) ~= "resourceName" then cancelEvent() end end ) غير الـ resourceName لاسم المود مشكور حسين بس سؤال اخلي outputChatBox تحت cancelEvent ? Link to comment
H25 Posted August 11, 2015 Share Posted August 11, 2015 addEventHandler("onResourceStart", resourceRoot, function (res) if getResourceName(res) ~= "resourceName" then cancelEvent() end end ) غير الـ resourceName لاسم المود مشكور حسين بس سؤال اخلي outputChatBox تحت cancelEvent ? العفو ماتفرق خليتها تحتها او فوقها Link to comment
Rockyz Posted August 11, 2015 Author Share Posted August 11, 2015 مشكورين تمت الافادة Link to comment
Rockyz Posted August 11, 2015 Author Share Posted August 11, 2015 addEventHandler("onResourceStart", resourceRoot, function (res) if getResourceName(res) ~= "resourceName" then cancelEvent() end end ) غير الـ resourceName لاسم المود بس ممكن سؤال ثاني اقدر اخلي كذا addEventHandler("onResourceStart", resourceRoot, function (res) if getResourceName(res) ~= "resourceName" or "resourceName1" then cancelEvent() end end ) Link to comment
iMr.SFA7 Posted August 11, 2015 Share Posted August 11, 2015 ايه تقدر ألافضل تجرب بدون لا تسأل ينفع ولا لا Link to comment
iMr.Dawix~# Posted August 11, 2015 Share Posted August 11, 2015 بس ممكن سؤال ثاني اقدر اخلي كذا addEventHandler("onResourceStart", resourceRoot, function (res) if getResourceName(res) ~= "resourceName" or "resourceName1" then cancelEvent() end end ) addEventHandler("onResourceStart", resourceRoot, function (res) if getResourceName(res) ~= "resourceName" or getResourceName(res) ~= "resourceName1" then cancelEvent() end end ) 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