Ac[T]ioN Posted April 23, 2015 Share Posted April 23, 2015 السلام عليكم ورحمة الله وبركاته جاي في بالي أسوي سكربت وأبغي الفنكشنات كامله الفكرة: لما الاعب يدخل السيرفر مايقدر يتكلم = ميوت ولما يسجل دخوله الميوت ينفك تلقائي وشكراً علي كل حال Link to comment
' A F . Posted April 23, 2015 Share Posted April 23, 2015 Event : onPlayerChat isGuestAccount getPlayerAccount getAccountName cancelEvent outputChatBox Link to comment
TAPL Posted April 23, 2015 Share Posted April 23, 2015 Event : onPlayerChat isGuestAccount getPlayerAccount getAccountName cancelEvent outputChatBox getAccountName يحتاج في ايش؟ Link to comment
The Don Posted April 23, 2015 Share Posted April 23, 2015 -- Server addEventHandler('onPlayerChat',root, function ( Message , MessageType) if MessageType == 0 or MessageType == 1 or MessageType == 2 then if isGuestAccount ( getPlayerAccount ( source ) ) then cancelEvent() outputChatBox ('Please log in first to chat!',source,255,0,0) end end end ) Link to comment
Ac[T]ioN Posted April 23, 2015 Author Share Posted April 23, 2015 -- Server addEventHandler('onPlayerChat',root, function ( Message , MessageType) if MessageType == 0 or MessageType == 1 or MessageType == 2 then if isGuestAccount ( getPlayerAccount ( source ) ) then cancelEvent() outputChatBox ('Please log in first to chat!',source,255,0,0) end 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