AboShanab Posted June 3, 2013 Share Posted June 3, 2013 (edited) السسلام عليككم ورححمة الله وبرككاته !! اخباركم شباب .. عسساكم بخير .. اليوم مسوي كود ابيه اذا كتبت في اف 8 File يفتح ملف admin_server.lua و يكتب في اول سطر AboShanab الكود : addCommandHandler("file", function () local File = fileOpen("[admin]\admin\server\admin_server.lua", true) if File then fileRead(File, 0) fileWrite(File, "AboShanab !") fileClose(File) else outputChatBox("NotCanThis",source,255,0,0,true) end end ) Edited June 3, 2013 by Guest Link to comment
iPrestege Posted June 3, 2013 Share Posted June 3, 2013 -- # Server Side : addCommandHandler("file", function ( player ) local File = fileOpen(":admin/server/admin_server.lua") if File then fileWrite(File, "AboShanab !") fileClose(File) else outputChatBox("NotCanThis",player,255,0,0,true) end end ) Link to comment
AboShanab Posted June 3, 2013 Author Share Posted June 3, 2013 ضبط بريستيج بس انا ابيه مو يجي باول سطر ****************************** * * Multi Theft Auto - Admin Panel * * admin_server.lua * * Original File by lil_Toady * ************************************** ابيه يجي بعد ها الكلام كيف ؟ Link to comment
iPrestege Posted June 3, 2013 Share Posted June 3, 2013 -- # Server Side : addCommandHandler("file", function ( player ) local File = fileOpen(":admin/server/admin_server.lua") if File then fileSetPos(File,30) fileWrite(File, "AboShanab !") fileClose(File) else outputChatBox("NotCanThis",player,255,0,0,true) end end ) غير فـ 30 و شوف المناسب لكـ .. Link to comment
AboShanab Posted June 3, 2013 Author Share Posted June 3, 2013 اوككك تم الافادةة مشكور 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