Author Topic: Garry's Mod 13 and ULX (Custom command plugins not working)  (Read 3257 times)

0 Members and 1 Guest are viewing this topic.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Garry's Mod 13 and ULX (Custom command plugins not working)
« on: November 09, 2012, 11:04:02 PM »
I can not get my custom addons working for ULX, did the addon syntax change or some thing?

Here are my current plugins... https://pnhscripts.googlecode.com/svn/trunk/hellfox/ULX_SVN-HeLLFox_15

The syntax I am using is...

Code: [Select]
local spawn = ulx.command( CATEGORY_NAME, "ulx spawn", ulx.spawn, "!spawn" )
spawn:addParam{ type=ULib.cmds.PlayersArg }
spawn:defaultAccess( ULib.ACCESS_ADMIN )
spawn:help( "respawn a target(s)." )

My custom weapons and scripts don't work as well... Any ideas?
« Last Edit: November 10, 2012, 01:51:19 AM by HeLLFox_15 »
I cry every time I see that I am not a respected member of this community.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Garry's Mod 13 and ULX (Custom command plugins not working)
« Reply #1 on: November 10, 2012, 10:48:26 AM »
Did you rename info.txt to addon.txt?
Experiencing God's grace one day at a time.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Garry's Mod 13 and ULX (Custom command plugins not working)
« Reply #2 on: November 10, 2012, 12:31:49 PM »
Did you rename info.txt to addon.txt?

You have to do that? Thank you very much you saved me from death by code.
I cry every time I see that I am not a respected member of this community.