function SetTime(ply, cmd, arg) --This concommand changes the world time. daylight.minute is the current world time. local time = arg[1] if ply:Team() == 2 then if ply:CanAfford(GetConVar("arena_timechangecost"):GetInt()) then daylight.minute = time end end end concommand.Add("arena_settime", SetTime)
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?

Register
Events
Popular
More
Post #1





Lua Helper x 1