CryAction IsClient

From CryWiki

Jump to: navigation, search

CryAction.IsClient()

Description

Is the game running as client?


Returns

True if you're a client.

Example

Lua (example)
local client = CryAction.IsClient();
if (client) then
  Log("We are a client");
else
  Log("We aren't a client");
end


Personal tools