Jey Posted May 30, 2015 Share Posted May 30, 2015 بسم الله الرحمن الرحيم السلام عليكم كيفكم؟ ان شاء الله بخير المهم بغيت كوود او مثال شيء سهل يعني مثلن في ملفات ف ملف gta3 ما ابغا احد يغير ذاك الملف او يلعب فيه و اي شيء يكون الاصلي كان معي مود كذا بس اتفرمت الجهاز ما ابي امنع جميع الملفات بس ملفات معينه و ال يغيرها ياكل باند Link to comment
Walid Posted May 30, 2015 Share Posted May 30, 2015 Enable special detection SD #20 <enablesd>20</enablesd> Link to comment
Jey Posted May 30, 2015 Author Share Posted May 30, 2015 بسم الله الرحمن الرحيمالسلام عليكم كيفكم؟ ان شاء الله بخير المهم بغيت كوود او مثال شيء سهل يعني مثلن في ملفات ف ملف gta3 ما ابغا احد يغير ذاك الملف او يلعب فيه و اي شيء يكون الاصلي كان معي مود كذا بس اتفرمت الجهاز ما ابي امنع جميع الملفات بس ملفات معينه و ال يغيرها ياكل باند Link to comment
TAPL Posted May 30, 2015 Share Posted May 30, 2015 https://wiki.multitheftauto.com/wiki/OnPlayerModInfo Link to comment
Jey Posted May 30, 2015 Author Share Posted May 30, 2015 https://wiki.multitheftauto.com/wiki/OnPlayerModInfo ما يصير امنع ملفات txd? بس dff? Link to comment
yazan Posted May 30, 2015 Share Posted May 30, 2015 (edited) https://wiki.multitheftauto.com/wiki/OnPlayerModInfo ما يصير امنع ملفات txd? بس dff? من قال dff بس ؟ ملفات اللعبة الاساسيه checkModels = { "rifle.ifp", "hmype.dff", "hmype.txd", "bmybe.dff", "bmybe.txd" } ---- اسماء الملفات مع صيغة function handleOnPlayerModInfo( filename, modList ) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then banPlayer(source, false, false, true, root, "سبب الباند") end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) Edited May 30, 2015 by Guest Link to comment
Jey Posted May 30, 2015 Author Share Posted May 30, 2015 checkModels = { "bakery_sfse.txd", "bakerybit_sfse.txd", "bigshed_sfse.txd", "bmybe.dff", "bmybe.txd" } ---- اسماء الملفات مع صيغة function handleOnPlayerModInfo( filename, modList ) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then kickPlayer( source ) end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) جربت ما اشتغل ملحوظة الملفات المعدلة ف ملف gta3.img Link to comment
Jey Posted May 30, 2015 Author Share Posted May 30, 2015 مسوي resource.* كل المودات ب الاسل Link to comment
Jey Posted May 30, 2015 Author Share Posted May 30, 2015 (edited) ام الحشيش معليش كنت مسوي شيء غلط سمحوني checkModels = { "bakery_sfse.txd", "bakerybit_sfse.txd", "bigshed_sfse.txd", "bmybe.dff", "bmybe.txd" } ---- اسماء الملفات مع صيغة function handleOnPlayerModInfo( filename, modList ) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then banPlayer( source, Files using ) outputChatBox ( "ban: "getPlayerName" "Has been Banned Using Files", theClient ) end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) تصليح Edited May 30, 2015 by Guest Link to comment
#|_oskar_|# Posted May 30, 2015 Share Posted May 30, 2015 ام الحشيشمعليش كنت مسوي شيء غلط سمحوني checkModels = { "bakery_sfse.txd", "bakerybit_sfse.txd", "bigshed_sfse.txd", "bmybe.dff", "bmybe.txd" } ---- اسماء الملفات مع صيغة function handleOnPlayerModInfo( filename, modList ) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then banPlayer( source, Files using ) outputChatBox ( "ban: "getPlayerName" "Has been Banned Using Files", theClient ) end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) تصليح banPlayer( source, 'Files using' ) outputChatBox("ban: "..getPlayerName(source).."Has been Banned Using Files",theClient) Link to comment
Jey Posted May 30, 2015 Author Share Posted May 30, 2015 checkModels = { "bakery_sfse.txd", "bakerybit_sfse.txd", "bigshed_sfse.txd", "factory_sfse.txd", "factorynewsfse.txd", "genwhse_sfse.txd", "vgsswarehse01.txd", "vgsswarehse02b.txd", "vgsswrehse03.txd" } function handleOnPlayerModInfo( filename, modList ) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then banPlayer( source, "FILES" ) outputChatBox ( "ban: "..getPlayerName.."FILES", root , 255,0,0 ) end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) ما يشتغل Link to comment
TAPL Posted May 30, 2015 Share Posted May 30, 2015 بدون ارقمنت و تقول ما يشتغل؟ getPlayerName حاط فنكشن Link to comment
TreKa Posted May 30, 2015 Share Posted May 30, 2015 checkModels = { "bakery_sfse.txd", "bakerybit_sfse.txd", "bigshed_sfse.txd", "factory_sfse.txd", "factorynewsfse.txd", "genwhse_sfse.txd", "vgsswarehse01.txd", "vgsswarehse02b.txd", "vgsswrehse03.txd" } function handleOnPlayerModInfo( filename, modList,playerSource ) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then banPlayer( source, "FILES" ) outputChatBox ("Ban The Player For useing files"..getPlayerName(playerSource), root , 255,0,0 ) end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) Link to comment
TAPL Posted May 30, 2015 Share Posted May 30, 2015 checkModels = { "bakery_sfse.txd", "bakerybit_sfse.txd", "bigshed_sfse.txd", "factory_sfse.txd", "factorynewsfse.txd", "genwhse_sfse.txd", "vgsswarehse01.txd", "vgsswarehse02b.txd", "vgsswrehse03.txd" } function handleOnPlayerModInfo( filename, modList,playerSource ) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then banPlayer( source, "FILES" ) outputChatBox ("Ban The Player For useing files"..getPlayerName(playerSource), root , 255,0,0 ) end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) playerSource الحين انت من وين جبت الأفنت ذا فيه بارتمر اثنين فقط، من وين انت جبت الثالث + لازم تجيب اسم اللاعب قبل ما تصكه باند عشان لما تصكه باند رح يخرج من السيرفر و ما رح يكون الألمنت حقه موجود Link to comment
iMr.Dawix~# Posted May 30, 2015 Share Posted May 30, 2015 checkModels = { "bakery_sfse.txd", "bakerybit_sfse.txd", "bigshed_sfse.txd", "factory_sfse.txd", "factorynewsfse.txd", "genwhse_sfse.txd", "vgsswarehse01.txd", "vgsswarehse02b.txd", "vgsswrehse03.txd" } function handleOnPlayerModInfo( filename, modList) for _, mod in ipairs( modList ) do for _, checkName in ipairs( checkModels ) do if mod.name == checkName then outputChatBox ("Ban The Player For useing files"..getPlayerName(source), root,255,0,0,true) banPlayer(source, "FILES") end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) Link to comment
Jey Posted May 31, 2015 Author Share Posted May 31, 2015 (edited) outputChatBox ( "FILES" ..getPlayerName (source) ,root,255,0,0,true) : أبغا اسم اللعب ب الاول حولت اسويها و خرب المود Edited May 31, 2015 by Guest 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