Jump to content

طلب كودين


Recommended Posts

السلام عليكم و رحمة الله و بركاته

الكود الاول --

انا معي مود دخل و خرج

ابي المسج تطلع في الكيل مسج

------------

الكود الثاني

ابي لما اصك حد موت او كيك او بان

المسج تيجي في التوب بار شات

و شكرا

Link to comment
السلام عليكم و رحمة الله و بركاته

الكود الاول --

انا معي مود دخل و خرج

ابي المسج تطلع في الكيل مسج

------------

الكود الثاني

ابي لما اصك حد موت او كيك او بان

المسج تيجي في التوب بار شات

و شكرا

exports 

للطلبين

Link to comment
addEventHandler("onPlayerJoin",root, function() 
local name1  = getPlayerName(source) 
exports["killmessages"]:outputMessage(" "..name1.."دخل الاعب الي سيرفر",root,0,255,0) 
end 
  
) 
  
  
addEventHandler("onPlayerQuit",root, function() 
local name2  = getPlayerName(source) 
exports["killmessages"]:outputMessage(" "..name2.."خرج الاعب من سيرفر",root,0,255,0) 
end 
  
) 

Link to comment
addEventHandler("onPlayerJoin",root, function() 
local name1  = getPlayerName(source) 
exports["killmessages"]:outputMessage(" "..name1.."دخل الاعب الي سيرفر",root,0,255,0) 
end 
  
) 
  
  
addEventHandler("onPlayerQuit",root, function() 
local name2  = getPlayerName(source) 
exports["killmessages"]:outputMessage(" "..name2.."خرج الاعب من سيرفر",root,0,255,0) 
end 
  
) 

طيب و غير اسمو ؟؟

Link to comment
addEventHandler('onClientPlayerChangeNick', root, 
    function(oldNick, newNick) 
        exports["killmessages"]:outputMessage('  #ffffff ' .. oldNick .. '  #FF6464 is now known as #ffffff ' .. newNick,247, 92, 7) 
    end 
) 

اوك شكرا

طيب و الكود التاني؟

Link to comment
addEventHandler('onClientPlayerChangeNick', root, 
    function(oldNick, newNick) 
        exports["killmessages"]:outputMessage('  #ffffff ' .. oldNick .. '  #FF6464 is now known as #ffffff ' .. newNick,247, 92, 7) 
    end 
) 

اوك شكرا

طيب و الكود التاني؟

"onPlayerMute" 
"onPlayerUnmute" 
 exports["TopBarChat"]:sendClientMessage 
"onPlayerBan" 

هما فنكشات

Link to comment
addEventHandler('onClientPlayerChangeNick', root, 
    function(oldNick, newNick) 
        exports["killmessages"]:outputMessage('  #ffffff ' .. oldNick .. '  #FF6464 is now known as #ffffff ' .. newNick,247, 92, 7) 
    end 
) 

اوك شكرا

طيب و الكود التاني؟

"onPlayerMute" 
"onPlayerUnmute" 
 exports["TopBarChat"]:sendClientMessage 
"onPlayerBan" 

هما فنكشات

طيب احطه فين بظبط؟

Link to comment
name  = getPlayerName(source) 
  
addEventHandler("onPlayerMute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been muted ! ",root,255,0,0) 
    end 
) 
addEventHandler("onPlayerUnmute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

جرب كذا , م جربت الكود

Link to comment
name  = getPlayerName(source) 
  
addEventHandler("onPlayerMute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been muted ! ",root,255,0,0) 
    end 
) 
addEventHandler("onPlayerUnmute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

جرب كذا , م جربت الكود

ما ظبط

Link to comment
name  = getPlayerName(source) 
  
addEventHandler("onPlayerMute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been muted ! ",root,255,0,0) 
    end 
) 
addEventHandler("onPlayerUnmute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

جرب كذا , م جربت الكود

طيب ومن وين جبت الاعب ؟

source = nil غير معرفة اول سطر !

  
  
addEventHandler("onPlayerMute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been muted ! ",root,255,0,0) 
    end 
) 
  
addEventHandler("onPlayerUnmute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

كذا يصير :wink:

Edited by Guest
Link to comment
   function m () 
       
      exports["TopBarChat"]:sendClientMessage(" ".. getPlayerName(source) .." Has been muted ! ",root,255,0,0) 
   
  end 
   
addEventHandler("onPlayerMute",root,m) 
  
     
     
    function m2 () 
         
        exports["TopBarChat"]:sendClientMessage(" ".. getPlayerName(source) .." Has been Unmuted ! ",root,0,255,0) 
     
    end 
  
    addEventHandler("onPlayerUnmute",root,m2) 
  
    function m3 () 
         
        exports["TopBarChat"]:sendClientMessage(" ".. getPlayerName(source) .." Has been Banned ! ",root,255,0,0) 
    
   end 
addEventHandler("onPlayerBan",root,m3) 

Link to comment
name  = getPlayerName(source) 
  
addEventHandler("onPlayerMute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been muted ! ",root,255,0,0) 
    end 
) 
addEventHandler("onPlayerUnmute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

جرب كذا , م جربت الكود

طيب ومن وين جبت الاعب ؟

source = nil غير معرفة اول سطر !

  
  
addEventHandler("onPlayerMute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been muted ! ",root,255,0,0) 
    end 
) 
  
addEventHandler("onPlayerUnmute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

كذا يصير :wink:

146075225311591.png

Link to comment
name  = getPlayerName(source) 
  
addEventHandler("onPlayerMute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been muted ! ",root,255,0,0) 
    end 
) 
addEventHandler("onPlayerUnmute",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root,  
    function() 
        exports["TopBarChat"]:sendClientMessage"".. name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

جرب كذا , م جربت الكود

طيب ومن وين جبت الاعب ؟

source = nil غير معرفة اول سطر !

  
  
addEventHandler("onPlayerMute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been muted ! ",root,255,0,0) 
    end 
) 
  
addEventHandler("onPlayerUnmute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage("".. name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

كذا يصير :wink:

146075225311591.png

جرب كودي !

Link to comment
  
  
addEventHandler("onPlayerMute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been muted ! ",root,255,0,0) 
    end 
) 
  
addEventHandler("onPlayerUnmute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

Link to comment
  
  
addEventHandler("onPlayerMute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been muted ! ",root,255,0,0) 
    end 
) 
  
addEventHandler("onPlayerUnmute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

146075225311591.png

Link to comment
  
  
addEventHandler("onPlayerMute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been muted ! ",root,255,0,0) 
    end 
) 
  
addEventHandler("onPlayerUnmute",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been Unmuted ! ",root,0,255,0) 
    end 
) 
  
addEventHandler("onPlayerBan",root, 
    function() 
        local name  = getPlayerName(source) 
        exports["TopBarChat"]:sendClientMessage(name .." Has been Banned ! ",root,255,0,0) 
    end 
) 

146075225311591.png

الرجال يقول لك بالبداية حطه ملف

Server side

وانت حاطه

Client.lua

:?

Link to comment

جرب

function m () 
      
      exports["TopBarChat"]:sendClientMessage(" "..getPlayerName(source).." Has been muted ! ",root,255,0,0) 
  
  end 
  
addEventHandler("onPlayerMute",root,m) 
  
    
    
    function m2 () 
        
        exports["TopBarChat"]:sendClientMessage(" "..getPlayerName(source).." Has been Unmuted ! ",root,0,255,0) 
    
    end 
  
    addEventHandler("onPlayerUnmute",root,m2) 
  
    function m3 () 
        
        exports["TopBarChat"]:sendClientMessage(" "..getPlayerName(source).." Has been Banned ! ",root,255,0,0) 
    
   end 
addEventHandler("onPlayerBan",root,m3) 

Link to comment
جرب
function m () 
      
      exports["TopBarChat"]:sendClientMessage(" "..getPlayerName(source).." Has been muted ! ",root,255,0,0) 
  
  end 
  
addEventHandler("onPlayerMute",root,m) 
  
    
    
    function m2 () 
        
        exports["TopBarChat"]:sendClientMessage(" "..getPlayerName(source).." Has been Unmuted ! ",root,0,255,0) 
    
    end 
  
    addEventHandler("onPlayerUnmute",root,m2) 
  
    function m3 () 
        
        exports["TopBarChat"]:sendClientMessage(" "..getPlayerName(source).." Has been Banned ! ",root,255,0,0) 
    
   end 
addEventHandler("onPlayerBan",root,m3) 

:lol::lol:

انت وش تخربط ؟

:D

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...