Jump to content

Join event & player name


Rutex

Recommended Posts

Posted

Hi guys. I have small problem.

I have code ( on server )

addEventHandler ("onPlayerJoin", XXX, Pj) 

With which element name, i can send this func only to joined player?

Like on client GetLocalPlayer... ( On XXX )

Sourse = doesnt work, nil value.

Posted

'addEventHandler' function doesn't send anything to anyone. "onPlayerJoin" event is triggered when a player joins, and it's only triggered for the player who joined - that is, that player is always the source of event.

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