[lua]function SetTime(ply, cmd, arg) --This concommand changes the world time. daylight.minute is the current world time.
local time = arg
if ply:Team() == 2 then if ply:CanAfford(GetConVar("arena_timechangecost"):GetInt()) then daylight.minute = time end end
This command HAS to be placed on a serverside file, but it is meant to be run by a player.
Problem is, when I run it, nothing happens and it says UNKNOWN COMMAND.
If I’m correct, the only way to get info from the client to the server is through concommands. How can I get this concommand to work then?