Jump to content

مشكله


z24d

Recommended Posts

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

عندي هالكود مششغال :(

addEventHandler( "onPlayerJoin", root, 
function() 
    exports.killmessages:outputMessage("# !#58ACFA*" .. getPlayerName ( source ) .. "#58ACFA Has been joined", root, 0, 255, 0 ) 
end) 
  
addEventHandler( "onPlayerChangeNick", root, 
function( oldNick, newNick ) 
    exports.killmessages:outputMessage("#00FF00 !#886A08 " .. oldNick .. "'#886A08 Has been changed his nick to ##886A08'" .. newNick .. "",root, 0, 255, 0) 
end) 
  
addEventHandler( "onPlayerQuit", root, 
function(reason) 
    exports.killmessages:outputMessage("#! #FF6464*" .. getPlayerName( source ) .. "' Has been left the server' [ " .. reason .. " ]", root, 255, 255, 255) 
end) 
  
addEventHandler( "onPlayerLogin", root, 
function() 
    exports.killmessages:outputMessage("#!#00FF00*#0000FF" .. getPlayerName ( source ) .. "#00FF00 has been succesfuly logined in", root, 0, 255, 0 ) 
end) 
addEventHandler("onPlayerLogout", root, 
function loggedOut() 
    exports.killmessages:outputMessage("#!#FFC900*" .. getPlayerName ( source ) .. "#FFC900 has been succesfuly Logged out", root, 0, 255, 0 ) 
    exports.killmessages:outputMessage("!#FFC900*" .. getPlayerName ( source ) .. "#FFC900 You have been succesfuly Logged out",source 0, 255, 0 ) 
end) 
  

Edited by Guest
Link to comment
    exports.killmessages:outputMessage("!#FFC900*" .. getPlayerName ( source ) .. "#FFC900 You have been succesfuly Logged out",source 0, 255, 0 ) 

تصير كذا

    exports.killmessages:outputMessage("!#FFC900*" .. getPlayerName ( source ) .. "#FFC900 You have been succesfuly Logged out", source, 0, 255, 0 ) 

ناقصك فاصلة صوب source

Link to comment

addEventHandler( "onPlayerJoin", root, 
function() 
    exports.killmessages:outputMessage("# !#58ACFA*" .. getPlayerName ( source ) .. "#58ACFA Has been joined", root, 0, 255, 0 ) 
end) 
  
addEventHandler( "onPlayerChangeNick", root, 
function( oldNick, newNick ) 
    exports.killmessages:outputMessage("#00FF00 !#886A08 " .. oldNick .. "'#886A08 Has been changed his nick to ##886A08'" .. newNick .. "",root, 0, 255, 0) 
end) 
  
addEventHandler( "onPlayerQuit", root, 
function(reason) 
    exports.killmessages:outputMessage("#! #FF6464*" .. getPlayerName( source ) .. "' Has been left the server' [ " .. reason .. " ]", root, 255, 255, 255) 
end) 
  
addEventHandler( "onPlayerLogin", root, 
function() 
    exports.killmessages:outputMessage("#!#00FF00*#0000FF" .. getPlayerName ( source ) .. "#00FF00 has been succesfuly logined in", root, 0, 255, 0 ) 
end) 
  
addEventHandler("onPlayerLogout", root, 
function () 
    exports.killmessages:outputMessage("#!#FFC900*" .. getPlayerName ( source ) .. "#FFC900 has been succesfuly Logged out", root, 0, 255, 0 ) 
    exports.killmessages:outputMessage("!#FFC900*" .. getPlayerName ( source ) .. "#FFC900 You have been succesfuly Logged out",source, 0, 255, 0 ) 
end) 
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...