Jump to content

onClientPlayerJoin<showChat


فاّرس

Recommended Posts

The first thing after the root is a var, Tha's worng !

And i don't think you can put the function inside a timer in that way, Should look like this ( Ex ) :

addEventHandler ( 'onPlayerJoin', root, 
    function ( ) 
        setTimer ( function ( ) 
            ... 
  

Link to comment
The first thing after the root is a var, Tha's worng !

And i don't think you can put the function inside a timer in that way, Should look like this ( Ex ) :

addEventHandler ( 'onPlayerJoin', root, 
    function ( ) 
        setTimer ( function ( ) 
            ... 
  

didn't work,

addEventHandler ( 'onPlayerJoin', root, 
isChatVisible = true 
    function ( ) 
        setTimer ( function ( ) 
            if isChatVisible then 
        showChat ( source,false ) 
        isChatVisible = false 
    end 
end,1000,1)) 

or

addEventHandler ( 'onPlayerJoin', root, 
isChatVisible = true 
    function ( ) 
        setTimer ( function ( ) 
            if isChatVisible then 
        showChat ( source,false ) 
        isChatVisible = false 
    end 
end 
end,1000,1)) 

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