Thank you very much Hardcard, I tried with the functions in this way:
local Players = net.get_player_list()
print(Players()) --check output
for PlayerIDIndex, playerID in pairs( Players ) do
net.kick(playerID, message)
net.log("RGT - Player Killed - player: "..Players..")
end
But I received this error message --> SCRIPTING: Mission script error: [string "local Players = ..."]:1: attempt to index global 'net' (a nil value)
I saw that error message is realted to the first row, I tried to change and I received the same error.
I tried to execute command on "do script" trigger on the miz.
Why I obtain this error if you?