Jump to content

LogIn - question


Piorun

Recommended Posts

i guss there is not function as you want

but use this

local root = getRootElement() 
  
addEventHandler("onPlayerLogin", root, 
  function() 
    outputChatBox(getPlayerName(source).." has logged in!", root) 
  end 
) 
  
local root = getRootElement() 
  
addEventHandler("onPlayerLogout", root, 
  function() 
    outputChatBox(getPlayerName(source).." has logged out!", root) 
  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...