userClient

CreateOrGetFont

string TrimProd.CreateOrGetFont(font, size, weight)

-- Example

local font = TrimProd.CreateOrGetFont("Fredoka", 20, 700)

TriggerServerCallback

TrimProd.TriggerServerCallback(name, cb, ...)

-- 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)

Last updated