Jump to content

وش الخطأ؟


w7sH

Recommended Posts

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) 

السلام عليكم ..

وش المشكلة في هالكود

 

  • Like 1
Link to comment
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 by Ahmed Ly
Link to comment
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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...