Mr.OppS Posted May 29, 2017 Share Posted May 29, 2017 (edited) السـلآم عليكم , كيف الحال؟ رمضان كريم علينا و عليكمشباب هذا كود حماية من اكواد الهكر فقط سريال واحـ1ـد مسموح يكتب الاكواد ولا يأخذ طرد !! اريـد اسوي تعديل ويصير 2 سـريـال او 3 سـريـالت مسمـوح لـهـم شكراً الكــود Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true; } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if getPlayerSerial ( source ) ~= "FG1BF3C8658CC6CBC1E1AG27T647R44" then cancelEvent ( ); kickPlayer ( source, "No Command " ); end end end ); Edited May 29, 2017 by King SpY Link to comment
Master_MTA Posted May 29, 2017 Share Posted May 29, 2017 (edited) Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true;} local ser={"FG1BF3C8658CC6CBC1E1AG27T647R44","serial2"} addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if ser[getPlayerSerial(source) ] then cancelEvent ( ); kickPlayer ( source, "No Command " ); end end end) جوال اعذرني لو في خطا Edited May 29, 2017 by Master_MTA Link to comment
Mr.OppS Posted May 29, 2017 Author Share Posted May 29, 2017 On 29/05/2017 at 13:32, Master_MTA said: Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true;} local ser={"FG1BF3C8658CC6CBC1E1AG27T647R44","serial2"} addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if ser[getPlayerSerial(source) ] then cancelEvent ( ); kickPlayer ( source, "No Command " ); end end end) جوال اعذرني لو في خطا Expand ضـبـط شـكـل الأكـواد ,,, و أجـرب الـكـود و النتيـجـة :: لا,يـعـمل Link to comment
Master_MTA Posted May 29, 2017 Share Posted May 29, 2017 On 29/05/2017 at 13:49, King SpY said: ضـبـط شـكـل الأكـواد ,,, و أجـرب الـكـود و النتيـجـة :: لا,يـعـمل Expand Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true; } local ser={ "FG1BF3C8658CC6CBC1E1AG27T647R44", "ser2", "ser3" } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not ser[getPlayerSerial ( source )] then cancelEvent ( ); kickPlayer ( source, "No Command " ); end end end ); Link to comment
Mr.OppS Posted May 30, 2017 Author Share Posted May 30, 2017 On 29/05/2017 at 13:51, Master_MTA said: Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true; } local ser={ "FG1BF3C8658CC6CBC1E1AG27T647R44", "ser2", "ser3" } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not ser[getPlayerSerial ( source )] then cancelEvent ( ); kickPlayer ( source, "No Command " ); end end end ); Expand أخــذت طــرد !! حطـيـت السـريـال ! واعطني طرد Link to comment
Master_MTA Posted May 30, 2017 Share Posted May 30, 2017 On 30/05/2017 at 12:02, King SpY said: أخــذت طــرد !! حطـيـت السـريـال ! واعطني طرد Expand ظيف سيريالك ب الجدل local ser={ "FG1BF3C8658CC6CBC1E1AG27T647R44", "ser2", "ser3" } Link to comment
Mr.OppS Posted May 30, 2017 Author Share Posted May 30, 2017 (edited) On 30/05/2017 at 12:18, Master_MTA said: ظيف سيريالك ب الجدل local ser={ "FG1BF3C8658CC6CBC1E1AG27T647R44", "ser2", "ser3" } Expand ضـفــت السـريــــال !!! واخذ طـرد Edited May 30, 2017 by King SpY Link to comment
Master_MTA Posted May 30, 2017 Share Posted May 30, 2017 On 30/05/2017 at 12:25, King SpY said: ضـفــت السـريــــال !!! واخذ طـرد Expand هممممممم بدل الكود بذا Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true; } local ser={ ["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true, ["ser2"]=true, ["ser3"]=true } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not ser[getPlayerSerial ( source )] then cancelEvent ( ); kickPlayer ( source, "No Command " ); end end end ); اهم شي لا تخلي داخل الجدول ser2 ser3 بدلها بسيريال اي شخص Link to comment
Mr.OppS Posted May 30, 2017 Author Share Posted May 30, 2017 On 30/05/2017 at 12:50, Master_MTA said: هممممممم بدل الكود بذا Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true; } local ser={ ["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true, ["ser2"]=true, ["ser3"]=true } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not ser[getPlayerSerial ( source )] then cancelEvent ( ); kickPlayer ( source, "No Command " ); end end end ); اهم شي لا تخلي داخل الجدول ser2 ser3 بدلها بسيريال اي شخص Expand أي, أكيد ابدلها بالسريـال & كـود جديد اشـتـغـل ,, شكـراً أخـي ؛؛ عـاشيـت أيـدك[B.L-Team]-[Owner] أخـوي وش تـعـنـي هذه ؟؟^^ Link to comment
Master_MTA Posted May 30, 2017 Share Posted May 30, 2017 On 30/05/2017 at 12:53, King SpY said: أي, أكيد ابدلها بالسريـال & كـود جديد اشـتـغـل ,, شكـراً أخـي ؛؛ عـاشيـت أيـدك[B.L-Team]-[Owner] أخـوي وش تـعـنـي هذه ؟؟^^ Expand العفو يقلبي الله يسلمك عشت ذي يقلبي تعني تيم برمجة سيرفر Business Life سيرفر جديد من نوعه تابع الموضوع عندنا يقلبي تخطيط لسيرفرر بجيم مود جديد بقسم اللغه العربيه عشان الاخ نصور بيخالفني ثاني لو تكلمت عنه هنا Link to comment
Mr.OppS Posted May 30, 2017 Author Share Posted May 30, 2017 On 30/05/2017 at 12:59, Master_MTA said: العفو يقلبي الله يسلمك عشت ذي يقلبي تعني تيم برمجة سيرفر Business Life سيرفر جديد من نوعه تابع الموضوع عندنا يقلبي تخطيط لسيرفرر بجيم مود جديد بقسم اللغه العربيه عشان الاخ نصور بيخالفني ثاني لو تكلمت عنه هنا Expand أهــا ,, دخـلت موضو ع , وفكـرة رائــعــةة _________________________ أخـي , سـوال المود مسوي بـي اذا شخص اخر ! يأخذ طــرد وهـذا الـكـود :- kickPlayer ( source, "No Command " ); اذا ابـدل الـكـود واحط هذا banPlayer (bannedPlayer,false,false,true,root,"No Command") = راخ يأخذ بـانـد؟ او كـود بـة خـطـاء؟؟ Link to comment
Master_MTA Posted May 30, 2017 Share Posted May 30, 2017 On 30/05/2017 at 13:15, King SpY said: أهــا ,, دخـلت موضو ع , وفكـرة رائــعــةة _________________________ أخـي , سـوال المود مسوي بـي اذا شخص اخر ! يأخذ طــرد وهـذا الـكـود :- kickPlayer ( source, "No Command " ); اذا ابـدل الـكـود واحط هذا banPlayer (bannedPlayer,false,false,true,root,"No Command") = راخ يأخذ بـانـد؟ او كـود بـة خـطـاء؟؟ Expand اسستخدم الوظيفة addBan افضل Link to comment
Mr.OppS Posted May 30, 2017 Author Share Posted May 30, 2017 On 30/05/2017 at 13:18, Master_MTA said: اسستخدم الوظيفة addBan افضل Expand أوكـ تـجـربـة .. Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true; } local ser={ ["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true, ["ser2"]=true, ["ser3"]=true } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not ser[getPlayerSerial ( source )] then cancelEvent ( ); addBan ( ipToBan, nil, nil, source, "No Command" ) end end end ); أشـعـر بـة شيئ خـطاء # Link to comment
Master_MTA Posted May 30, 2017 Share Posted May 30, 2017 On 30/05/2017 at 13:24, King SpY said: أوكـ تـجـربـة .. Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true; } local ser={ ["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true, ["ser2"]=true, ["ser3"]=true } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not ser[getPlayerSerial ( source )] then cancelEvent ( ); addBan ( ipToBan, nil, nil, source, "No Command" ) end end end ); أشـعـر بـة شيئ خـطاء # Expand Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true; } local ser={ ["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true, ["ser2"]=true, ["ser3"]=true } addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not ser[getPlayerSerial ( source )] then cancelEvent ( ); addBan ( getPlayerIP(source), nil, nil, source, "No Command" ) end end end ); Link to comment
Mr.OppS Posted May 30, 2017 Author Share Posted May 30, 2017 On 30/05/2017 at 13:27, Master_MTA said: Command = { ['setpos'] = true; ['st'] = true; ['sw'] = true;}local ser={["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true, ["ser2"]=true, ["ser3"]=true}addEventHandler ( 'onPlayerCommand',getRootElement ( ), function ( cmd ) if Command [ cmd ] then if not ser[getPlayerSerial ( source )] then cancelEvent ( ); addBan ( getPlayerIP(source), nil, nil, source, "No Command" ) end endend); Expand أهـا أؤكـ بس راح اخليها عن طريـق سـريـاأل أحـسـن ,,getPlayerSerial Link to comment
Master_MTA Posted May 30, 2017 Share Posted May 30, 2017 On 30/05/2017 at 13:31, King SpY said: أهـا أؤكـ بس راح اخليها عن طريـق سـريـاأل أحـسـن ,,getPlayerSerial Expand اذا بتستعمل السيريال راح يصير كذا addBan ( nil, nil, getPlayerSerial(source), source, "No Command" ) 1 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