H25 Posted August 11, 2015 Share Posted August 11, 2015 يصير كذا ؟ addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor.button[1] then local text = guiGetText(edit) triggerServerEvent("sendText", localPlayer, text) end end ) addEvent ( "sendText", true ) addEventHandler ( "sendText",root, function () for k, v in ipairs ( getElementsByType ( "player" ) ) do if not isObjectInACLGroup ( 'user.' .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( 'Console' ) ) then kickPlayer ( v, "text" ) end end end ) ليش اللوب لازم ترسل اسم اللاعب وتستخدم getPlayerFromName Link to comment
iMr.SFA7 Posted August 11, 2015 Share Posted August 11, 2015 حسن هو يبي يطرد كل اللاعبين الا الكونسلية ! Link to comment
~Mr.Hassan Posted August 11, 2015 Author Share Posted August 11, 2015 طب اسمعو هذه الي تخلي الكونسل بس الي يفتح الوحه ؟؟ addCommandHandler( "ff", function ( ) if not isObjectInACLGroup ( 'user.' .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( 'Console' ) ) then if not isShowWindow then addEventHandler("onClientRender", root, Dx) isShowWindow = true showCursor ( true ) else removeEventHandler("onClientRender", root, Dx) isShowWindow = false showCursor ( false ) end end end ) شوفولي لو فيه اي خطا Link to comment
~Mr.Hassan Posted August 11, 2015 Author Share Posted August 11, 2015 اففففففففففففففففففففففففففففففففففففففففففففففففففففففففففففف Link to comment
~Mr.Hassan Posted August 11, 2015 Author Share Posted August 11, 2015 سيرفر addEvent("acl", true) addEventHandler("acl", root, function ( ) if not isObjectInACLGroup ( 'user.' .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( 'Console' ) ) then end ) كلينت addCommandHandler( "ff", function ( ) triggerServerEvent("acl",getLocalPlayer()) if not isShowWindow then addEventHandler("onClientRender", root, Dx) isShowWindow = true showCursor ( true ) else removeEventHandler("onClientRender", root, Dx) isShowWindow = false showCursor ( false ) end end ) Link to comment
iMr.SFA7 Posted August 11, 2015 Share Posted August 11, 2015 addEvent("acl", true) addEventHandler("acl", root, function ( ) if not isObjectInACLGroup ( 'user.' .. getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( 'Console' ) ) then end ) اذا ما كان اللاعب بقروب الكونسل ثم ثم ايش ؟؟؟؟؟؟؟؟ ثم سوي ترايقر من السيرفر للكلنت وكمل الوظيفة Link to comment
~Mr.Hassan Posted August 11, 2015 Author Share Posted August 11, 2015 عندي فكره كثيييييييررررررررررررررررررررررررررررررررر كويسسسسسسسسسسسسسسسسسسسسسسه اروح اسرق شيئ كود من اي مود 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