SolideRock Posted April 4, 2016 Share Posted April 4, 2016 السلام عليكم ورحمه الله وبركاته ممكن كود لو دخل اللاعب السيرفر مايقدر يتكلم في الشات ولما يجي يتكلم تيجيه رساله بالشات وابي كود مايقدر يسجل من اف 8 Link to comment
iMr.WiFi..! Posted April 4, 2016 Share Posted April 4, 2016 (edited) 'onPlayerJoin' setPlayerMuted outputChatBox 'onPlayerCommand' cancelEvent Edit & Edited April 4, 2016 by Guest Link to comment
Abdul KariM Posted April 4, 2016 Share Posted April 4, 2016 بالنسبـة ل منع التسجيل onPlayerCommand cancelEvent Link to comment
N3xT Posted April 4, 2016 Share Posted April 4, 2016 onPlayerChat cancelEvent outputChatBox Link to comment
3SM Posted April 4, 2016 Share Posted April 4, 2016 'onPlayerCommand' cancelEvent 'onPlayerJoin' setPlayerMuted outputChatBox Link to comment
SolideRock Posted April 4, 2016 Author Share Posted April 4, 2016 ممكن مثال ؟؟ توضيحي لكل شي Link to comment
Abdul KariM Posted April 4, 2016 Share Posted April 4, 2016 onPlayerJoin -- اول مايدخل الاعب setPlayerMuted -- نصكه ميوت onPlayerCommand -- اول مايكتب الاعب كوماند نحدد الكلمة , عن طريق البارتمنز الموجود cancelEvent -- نكنسل الافنت Link to comment
SycroX Posted April 4, 2016 Share Posted April 4, 2016 addEventHandler("onPlayerCommand", root, function( cmd ) if cmd == "register" then cancelEvent() end end) addEventHandler("onPlayerChat" , root function() if isGuestAccount(getPlayerAccount(source)) then canclEvent() outputChatBox("Please Login First", source, 255, 0, 0, true) end end) Link to comment
The Life Posted April 4, 2016 Share Posted April 4, 2016 addEventHandler("onPlayerCommand", root, function( cmd ) if cmd == "register" then cancelEvent() end end) addEventHandler("onPlayerChat" , root function() if isGuestAccount(getPlayerAccount(source)) then canclEvent() outputChatBox("Please Login First", source, 255, 0, 0, true) end end) addEventHandler("onPlayerChat" , root, function() if isGuestAccount(getPlayerAccount(source)) then cancelEvent() outputChatBox("Please Login First", source, 255, 0, 0, true) end end) Link to comment
3SM Posted April 4, 2016 Share Posted April 4, 2016 اضغط على شي لي مافهمتو ينقلك للويكي وفيه امتلة EXEMPLES Link to comment
SycroX Posted April 4, 2016 Share Posted April 4, 2016 addEventHandler("onPlayerCommand", root, function( cmd ) if cmd == "register" then cancelEvent() end end) addEventHandler("onPlayerChat" , root function() if isGuestAccount(getPlayerAccount(source)) then canclEvent() outputChatBox("Please Login First", source, 255, 0, 0, true) end end) addEventHandler("onPlayerChat" , root, function() if isGuestAccount(getPlayerAccount(source)) then cancelEvent() outputChatBox("Please Login First", source, 255, 0, 0, true) end end) ايه شكرا معلش اصل موب addEventHandler("onPlayerChat", root, function() if isGuestAccount(getPlayerAccount(source)) then cancelEvent() outputChatBox("Please Login First", source, 255, 0, 0, true) end end) 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