Home / Lua / Events / Shared / PlayerJoin

Name    PlayerJoin
Arguments (in table)    Player player
Return option    None

Description

Fired when a player joins the server.

Examples

function Foo(args)
	print(args.player:GetName().." joined the server")
end

Events:Subscribe("PlayerJoin", Foo)