@@ -92,4 +92,73 @@ sbanid:addParam{ type=ULib.cmds.StringArg, hint="steamid" }
92
92
sbanid :addParam { type = ULib .cmds .NumArg , hint = " minutes, 0 for perma" , ULib .cmds .optional , ULib .cmds .allowTimeString , min = 0 }
93
93
sbanid :addParam { type = ULib .cmds .StringArg , hint = " reason" , ULib .cmds .optional , ULib .cmds .takeRestOfLine , completes = ulx .common_kick_reasons }
94
94
sbanid :defaultAccess ( ULib .ACCESS_SUPERADMIN )
95
- sbanid :help ( " Bans steamid." )
95
+ sbanid :help ( " Bans steamid." )
96
+
97
+
98
+ local CATEGORY_NAME = " Source Comms"
99
+
100
+ function ulx .cgag ( calling_ply , target_ply , minutes , reason )
101
+ ULib .tsayError ( calling_ply , " This feature isn't complete yet!" , true )
102
+ return
103
+ end
104
+ local cgag = ulx .command ( CATEGORY_NAME , " ulx cgag" , ulx .cgag , " !cgag" )
105
+ cgag :addParam { type = ULib .cmds .PlayerArg }
106
+ cgag :addParam { type = ULib .cmds .NumArg , hint = " minutes, 0 for perma" , ULib .cmds .optional , ULib .cmds .allowTimeString , min = 0 }
107
+ cgag :addParam { type = ULib .cmds .StringArg , hint = " reason" , ULib .cmds .optional , ULib .cmds .takeRestOfLine , completes = ulx .common_kick_reasons }
108
+ cgag :defaultAccess ( ULib .ACCESS_ADMIN )
109
+ cgag :help ( " Gags target." )
110
+
111
+ function ulx .cgagid ( calling_ply , target_ply , minutes , reason )
112
+ ULib .tsayError ( calling_ply , " This feature isn't complete yet!" , true )
113
+ return
114
+ end
115
+ local cgagid = ulx .command ( CATEGORY_NAME , " ulx cgagid" , ulx .cgagid , " !cgagid" )
116
+ cgagid :addParam { type = ULib .cmds .StringArg , hint = " steamid" }
117
+ cgagid :addParam { type = ULib .cmds .NumArg , hint = " minutes, 0 for perma" , ULib .cmds .optional , ULib .cmds .allowTimeString , min = 0 }
118
+ cgagid :addParam { type = ULib .cmds .StringArg , hint = " reason" , ULib .cmds .optional , ULib .cmds .takeRestOfLine , completes = ulx .common_kick_reasons }
119
+ cgagid :defaultAccess ( ULib .ACCESS_ADMIN )
120
+ cgagid :help ( " Gags target." )
121
+
122
+ function ulx .cmute ( calling_ply , target_ply , minutes , reason )
123
+ ULib .tsayError ( calling_ply , " This feature isn't complete yet!" , true )
124
+ return
125
+ end
126
+ local cmute = ulx .command ( CATEGORY_NAME , " ulx cmute" , ulx .cmute , " !cmute" )
127
+ cmute :addParam { type = ULib .cmds .PlayerArg }
128
+ cmute :addParam { type = ULib .cmds .NumArg , hint = " minutes, 0 for perma" , ULib .cmds .optional , ULib .cmds .allowTimeString , min = 0 }
129
+ cmute :addParam { type = ULib .cmds .StringArg , hint = " reason" , ULib .cmds .optional , ULib .cmds .takeRestOfLine , completes = ulx .common_kick_reasons }
130
+ cmute :defaultAccess ( ULib .ACCESS_ADMIN )
131
+ cmute :help ( " Mutes target." )
132
+
133
+ function ulx .cmuteid ( calling_ply , target_ply , minutes , reason )
134
+ ULib .tsayError ( calling_ply , " This feature isn't complete yet!" , true )
135
+ return
136
+ end
137
+ local cmuteid = ulx .command ( CATEGORY_NAME , " ulx cmuteid" , ulx .cmuteid , " !cmuteid" )
138
+ cmuteid :addParam { type = ULib .cmds .StringArg , hint = " steamid" }
139
+ cmuteid :addParam { type = ULib .cmds .NumArg , hint = " minutes, 0 for perma" , ULib .cmds .optional , ULib .cmds .allowTimeString , min = 0 }
140
+ cmuteid :addParam { type = ULib .cmds .StringArg , hint = " reason" , ULib .cmds .optional , ULib .cmds .takeRestOfLine , completes = ulx .common_kick_reasons }
141
+ cmuteid :defaultAccess ( ULib .ACCESS_ADMIN )
142
+ cmuteid :help ( " Mutes target." )
143
+
144
+ function ulx .csilence ( calling_ply , target_ply , minutes , reason )
145
+ ULib .tsayError ( calling_ply , " This feature isn't complete yet!" , true )
146
+ return
147
+ end
148
+ local csilence = ulx .command ( CATEGORY_NAME , " ulx csilence" , ulx .csilence , " !csilence" )
149
+ csilence :addParam { type = ULib .cmds .PlayerArg }
150
+ csilence :addParam { type = ULib .cmds .NumArg , hint = " minutes, 0 for perma" , ULib .cmds .optional , ULib .cmds .allowTimeString , min = 0 }
151
+ csilence :addParam { type = ULib .cmds .StringArg , hint = " reason" , ULib .cmds .optional , ULib .cmds .takeRestOfLine , completes = ulx .common_kick_reasons }
152
+ csilence :defaultAccess ( ULib .ACCESS_ADMIN )
153
+ csilence :help ( " Silences target." )
154
+
155
+ function ulx .csilenceid ( calling_ply , target_ply , minutes , reason )
156
+ ULib .tsayError ( calling_ply , " This feature isn't complete yet!" , true )
157
+ return
158
+ end
159
+ local csilenceid = ulx .command ( CATEGORY_NAME , " ulx csilenceid" , ulx .csilenceid , " !csilenceid" )
160
+ csilenceid :addParam { type = ULib .cmds .StringArg , hint = " steamid" }
161
+ csilenceid :addParam { type = ULib .cmds .NumArg , hint = " minutes, 0 for perma" , ULib .cmds .optional , ULib .cmds .allowTimeString , min = 0 }
162
+ csilenceid :addParam { type = ULib .cmds .StringArg , hint = " reason" , ULib .cmds .optional , ULib .cmds .takeRestOfLine , completes = ulx .common_kick_reasons }
163
+ csilenceid :defaultAccess ( ULib .ACCESS_ADMIN )
164
+ csilenceid :help ( " Silences target." )
0 commit comments