w7sH Posted April 15, 2017 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
Ahmed Ly Posted April 15, 2017 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
Dr.Marco Posted April 15, 2017 Posted April 15, 2017 انت أصلا مستعمل outputChatBox يعني راح ينزل في الشات .. ورينا كودك الي استعملته عشان تخليه يطلع في توب بار شات Signature removed by administrator due to large images
w7sH Posted April 15, 2017 Author 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)
Ahmed Ly Posted April 15, 2017 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)
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