w7sH Posted April 15, 2017 Share Posted April 15, 2017 function login() if hasObjectPermissionTo(player,"command.mute",true) then outputChatBox("[AdminSystem]: * The administration has logged in. " .. getPlayerName(source) .. "| لقد قام الأدمن بستجيل دخوله.", getRootElement(), 255,255,0, true) playSoundFrontEnd (root, 45 ) end -- The End of " if " end -- The End of " function login " addEventHandler("onPlayerLogin", getRootElement(), login) السلام عليكم .. وش المشكلة في هالكود 1 Link to comment
Ahmed Ly Posted April 15, 2017 Share Posted April 15, 2017 (edited) function login() if hasObjectPermissionTo(source,"command.mute") then outputChatBox("[AdminSystem]: * The administration has logged in. " .. getPlayerName(source) .. "| لقد قام الأدمن بستجيل دخوله.",root, 255,255,0, true) playSoundFrontEnd (root, 45 ) end -- The End of " if " end -- The End of " function login " addEventHandler("onPlayerLogin",root, login) Edited April 15, 2017 by Ahmed Ly Link to comment
w7sH Posted April 15, 2017 Author Share Posted April 15, 2017 ابي احطها فالتوب بار شات مايضبط ليه؟ Link to comment
Dr.Marco Posted April 15, 2017 Share Posted April 15, 2017 انت أصلا مستعمل outputChatBox يعني راح ينزل في الشات .. ورينا كودك الي استعملته عشان تخليه يطلع في توب بار شات Link to comment
w7sH Posted April 15, 2017 Author Share Posted April 15, 2017 function login() if hasObjectPermissionTo(source,"command.mute") then exports.xrkillmessages:outputMessage("[AdminSystem]: * The administration has logged in. " .. getPlayerName(source) .. "| لقد قام الأدمن بستجيل دخوله.",root, 255,255,0, true) playSoundFrontEnd (root, 45 ) end -- The End of " if " end -- The End of " function login " addEventHandler("onPlayerLogin",root, login) Link to comment
Ahmed Ly Posted April 15, 2017 Share Posted April 15, 2017 function login() if hasObjectPermissionTo(source,"command.mute") then exports.topbarchat:sendClientMessage("[AdminSystem]: * The administration has logged in. " .. getPlayerName(source) .. "| لقد قام الأدمن بستجيل دخوله.",root, 255,255,0) playSoundFrontEnd (root, 45 ) end -- The End of " if " end -- The End of " function login " addEventHandler("onPlayerLogin",root, login) Link to comment
w7sH Posted April 15, 2017 Author Share Posted April 15, 2017 جزاك الله خير يا أخ أحمد . تمت الإفادة 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