Server-side additions of the Flux core: hook.run_client, which runs a hook on the client of a player, and a ServerLog that leaves an empty line after every entry. Also derives the gamemode from sandbox on the server.

Summary

Functions

Runs a hook on a player's client.

Functions

hook.run_client(target, hook_name, ...)

server packages/flow/core/sv_core.lua:22

Runs a hook on a player's client. The arguments are sent over the network.

Parameters

  • target Player the client to run the hook on
  • hook_name String name of the hook
  • ... Vararg arguments passed to the hook

Defined in