Jump to content

مطلوب فنكشنات


Recommended Posts

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

جاي في بالي أسوي سكربت وأبغي الفنكشنات كامله

الفكرة: لما الاعب يدخل السيرفر مايقدر يتكلم = ميوت ولما يسجل دخوله الميوت ينفك تلقائي

وشكراً علي كل حال

Link to comment
-- 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
-- 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

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