General > Developers Corner

Ulx with other addon and use ulx commands on this.... help

(1/1)

adigyran:
i`m created a simple donate system, me need a include ulx function on it
the addon:
addons\Donate_mode\lua\autorun\kodtest.lua
me need include the ucl commands in this lua...
what i`m need using?
hooks?
include("addons/ulub/lua/server/ucl.lua")
don`t works
i need a command
addUser(pl,"donator")

Megiddo:
Are you looking for ULib.ucl.addUser?

Or, you can do as XGUI does and just call the "ulx adduser" command in the console.

BigBrainAFK:
i know the topic is old but how to call it in the console?

JamminR:
RunConsoleCommand on server side code.

Navigation

[0] Message Index

Go to full version