ULX

Author Topic: Ulx with other addon and use ulx commands on this.... help  (Read 2734 times)

0 Members and 1 Guest are viewing this topic.

Offline adigyran

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Ulx with other addon and use ulx commands on this.... help
« on: February 26, 2011, 01:54:25 AM »
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")

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulx with other addon and use ulx commands on this.... help
« Reply #1 on: February 26, 2011, 06:21:58 AM »
Are you looking for ULib.ucl.addUser?

Or, you can do as XGUI does and just call the "ulx adduser" command in the console.
Experiencing God's grace one day at a time.

Offline BigBrainAFK

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Ulx with other addon and use ulx commands on this.... help
« Reply #2 on: April 14, 2014, 03:32:29 AM »
i know the topic is old but how to call it in the console?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx with other addon and use ulx commands on this.... help
« Reply #3 on: April 14, 2014, 06:46:01 AM »
RunConsoleCommand on server side code.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming