Stopping ulx from slaying multiple people.

Sometimes when I try to slay a person with ulx I end up accidentally typing in something that can refer to multiple people and it slays all of them.

Is there a way I can have it like banning where it will only do the 1?


slay:addParam{ type=ULib.cmds.PlayersArg }


slay:addParam{ type=ULib.cmds.PlayerArg }

Will make it so the command only works on one player.

Look for this code snippet in Ulx/Modules/sh/fun.lua, and assuming you haven’t edited it, it’s line 93.


Problem is that this might kill someone unexpected. Perhaps should make a check to determine if it matches multiple players, and then displays a warning and ends.

nvm, doesn’t work…

no errors, but when I open it up for multiple people it says no target found (like it should)
but when I try to slay an individual it does nothing at all.

‘ulx kick’ should have the check you’re looking for

already tried comparing like that, I even made a god damn Venn diagram.