Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ulx.decals( calling_ply, reason )
- for k, v in pairs(player.GetAll()) do
- v:ConCommand("r_cleardecals")
- end
- ulx.fancyLogAdmin( calling_ply, "#A cleared all decals because #s", command, target_plys, reason )
- return true
- end
- local decals= ulx.command( "Utility", "ulx decals", ulx.decals, "!decals" )
- decals:addParam{ type=ULib.cmds.StringArg, hint="reason", ULib.cmds.optional, ULib.cmds.takeRestOfLine, completes=ulx.common_kick_reasons }
- decals:defaultAccess( ULib.ACCESS_ADMIN )
- decals:help( "Clears all decals." )
Advertisement
Add Comment
Please, Sign In to add comment