General > Developers Corner

Help with a lua

<< < (3/3)

killforfun:
yup this worked "but"
it showed up in the ulx menu and worked but i cant use command !minge (player)

Megiddo:

--- Quote from: killforfun on June 16, 2011, 11:23:57 PM ---yup this worked "but"
it showed up in the ulx menu and worked but i cant use command !minge (player)

--- End quote ---

Show us your server/client logs again.

Aaron113:

--- Code: ---local CATEGORY_NAME = "User Management"

function ulx.mingeuser( ply, target )
ulx.adduser( ply, target, "minge")
end

local mingeuser = ulx.command( CATEGORY_NAME, "ulx minge", ulx.mingeuser, "!minge" )
mingeuser:addParam{ type=ULib.cmds.PlayerArg }
mingeuser:defaultAccess( ULib.ACCESS_SUPERADMIN )
mingeuser:help("Turns a user into a minge." )
--- End code ---

 ::)


EDIT:  Tested - Works fine.

Navigation

[0] Message Index

[*] Previous page

Go to full version