Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: iSnipeu on June 27, 2013, 12:40:53 AM
-
function ulx.example( calling_ply, target_ply )
target_ply:PrintMessage( HUD_PRINTTALK, "Worked!" )
end
local example = ulx.command( CATEGORY_NAME, "ulx example", ulx.example, "!example", true )
example:addParam{ type=ULib.cmds.PlayerArg, target="!^", ULib.cmds.ignoreCanTarget }
example:defaultAccess( ULib.ACCESS_ALL )
example:help( "Example Command" )
Attempting to call that from console (on a dedi) will do nothing.
-
May be something to do with self targeting from console, will look into it (https://github.com/Nayruden/Ulysses/issues/222).