Home / Lua / Events / Server / ClientModuleLoad

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

Description

Fired when player is finished loading their client-side scripts, either when they join or when the module is loaded/reloaded. You may want to wait until this is called before sending network messages to a player.

Examples

function Foo(args)
	print(args.player:GetName().."'s client-side scripts have been loaded")
end

Events:Subscribe("ClientModuleLoad", Foo)