# Client

### CreateOrGetFont

<pre class="language-lua"><code class="lang-lua"><strong><a data-footnote-ref href="#user-content-fn-1">string</a> TrimProd.CreateOrGetFont(font, size, weight)
</strong>
-- Example

local font = TrimProd.CreateOrGetFont("Fredoka", 20, 700)
</code></pre>

### TriggerServerCallback

<pre class="language-lua"><code class="lang-lua">TrimProd.TriggerServerCallback(name, cb, <a data-footnote-ref href="#user-content-fn-2">...</a>)

-- Example

Elexia.TriggerServerCallback('elexia::createEntreprises', function(created)
  if created then
    surface.PlaySound('buttons/button15.wav')
    Elexia.Notify("Vous avez crée votre entreprise avec succès !", NOTIFY_GENERIC, 5)
    Elexia.Notify("Une erreur est survenu contactez un administrateur !", NOTIFY_ERROR, 5)
    surface.PlaySound('buttons/button2.wav')
  end
end, name, typea)
</code></pre>

[^1]: Returned value is the font name

[^2]: Arguments
