Ulysses
Home
Help
Ulysses
»
General
»
Developers Corner
»
Use the jail command
« previous next »
Print
Pages: [
1
]
Go Down
Author
Topic: Use the jail command (Read 4260 times)
0 Members and 1 Guest are viewing this topic.
simpleee
Newbie
Posts: 13
Karma: 1
Use the jail command
«
on:
December 22, 2013, 12:09:29 pm »
hello,
how can i use the jail comand with lua? And how the Slap? Something like this? :
Code:
[Select]
RunConsoleCommand( "ulx", "slap", target_plys)
Thx
«
Last Edit: December 22, 2013, 01:29:02 pm by simpleee
»
Logged
Cobalt
Full Member
Posts: 216
Karma: 44
http://steamcommunity.com/id/__yvl/
Re: Use the jail command
«
Reply #1 on:
December 22, 2013, 02:43:23 pm »
assuming target_plys is a table already defined,
Code: Lua
for
i
=
1
,
#
target_plys
do
RunConsoleCommand
(
"ulx"
,
"slap"
,
target_plys
[
i
]
:
Nick
(
)
)
end
Or you can use ULib.slap.
Logged
Print
Pages: [
1
]
Go Up
« previous next »
Ulysses
»
General
»
Developers Corner
»
Use the jail command