SaedAmer Posted April 15, 2016 Share Posted April 15, 2016 السلام عليكم و رحمة الله و بركاته الكود الاول -- انا معي مود دخل و خرج ابي المسج تطلع في الكيل مسج ------------ الكود الثاني ابي لما اصك حد موت او كيك او بان المسج تيجي في التوب بار شات و شكرا Link to comment
Sha[D]owPrO Posted April 15, 2016 Share Posted April 15, 2016 السلام عليكم و رحمة الله و بركاتهالكود الاول -- انا معي مود دخل و خرج ابي المسج تطلع في الكيل مسج ------------ الكود الثاني ابي لما اصك حد موت او كيك او بان المسج تيجي في التوب بار شات و شكرا exports للطلبين Link to comment
SaedAmer Posted April 15, 2016 Author Share Posted April 15, 2016 للطلبين ممكن الكود جاهز؟ Link to comment
Ahmed Ly Posted April 15, 2016 Share Posted April 15, 2016 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
SaedAmer Posted April 15, 2016 Author Share Posted April 15, 2016 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
Ahmed Ly Posted April 15, 2016 Share Posted April 15, 2016 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
SaedAmer Posted April 15, 2016 Author Share Posted April 15, 2016 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
Ahmed Ly Posted April 15, 2016 Share Posted April 15, 2016 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
SaedAmer Posted April 15, 2016 Author Share Posted April 15, 2016 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
SaedAmer Posted April 15, 2016 Author Share Posted April 15, 2016 في السيرفر مش الكلنت مش فاهم يعني دلوقتي احظه ب مود لوحده و يكون سيرفر ؟ Link to comment
N3xT Posted April 15, 2016 Share Posted April 15, 2016 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
SaedAmer Posted April 15, 2016 Author Share Posted April 15, 2016 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
N3xT Posted April 15, 2016 Share Posted April 15, 2016 طيب وش يطلع بالديبق ؟ debugscript 3 Link to comment
MR.GRAND Posted April 15, 2016 Share Posted April 15, 2016 (edited) 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 ) كذا يصير Edited April 15, 2016 by Guest Link to comment
Ahmed Ly Posted April 15, 2016 Share Posted April 15, 2016 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
SaedAmer Posted April 15, 2016 Author Share Posted April 15, 2016 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 ) كذا يصير Link to comment
Ahmed Ly Posted April 15, 2016 Share Posted April 15, 2016 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 ) كذا يصير جرب كودي ! Link to comment
MR.GRAND Posted April 15, 2016 Share Posted April 15, 2016 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
SaedAmer Posted April 15, 2016 Author Share Posted April 15, 2016 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
MR.GRAND Posted April 15, 2016 Share Posted April 15, 2016 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 ) الرجال يقول لك بالبداية حطه ملف Server side وانت حاطه Client.lua Link to comment
Ahmed Ly Posted April 15, 2016 Share Posted April 15, 2016 جرب 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
MR.GRAND Posted April 15, 2016 Share Posted April 15, 2016 جرب 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
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