ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientResourceStart

Event

onClientResourceStart

ClientResourcesIdentical to MTA:SA

A resource started in the player's game (client scripts are loaded). Attached to resourceRoot it only arrives for your own resource.

Handler

addEventHandler("onClientResourceStart", root, function(startedResource) ... end)

Parameters

startedResourceresource
The resource.

Source

source is the resource root.

Example

addEventHandler("onClientResourceStart", resourceRoot, function()
    outputChatBox("Skrypty serwera wczytane.")
end)

See also