Hello,
I'm trying to get the old FAdmin scoreboard working for DarkRP, FAdmin_IsScoreboard works, but only for people who put it into the console.
I was wondering if there is a way I can make clients run this command when they join the server.
[lua]
hook.Add("PlayerSpawn", "RCC on spawn", function(ply)
if IsValid(ply) then
ply:SendLua("RunConsoleCommand( 'FAdmin_IsScoreboard', 1 )")
end
end)
[/lua]
lua/autorun/server
Not sure why you need that, but SERVERSIDE:
player:ConCommand("mycommand of awesomity")
[editline]21st November 2013[/editline]
Darn ninjas
Thanks for that, everything works now.
[QUOTE=fisktg;42936434]Thanks for that, everything works now.[/QUOTE]
Well make sure to only force it once, or better don't force it at all.
I hate it when I join servers which force a ConVar that I manually set before to something else.
Sorry, you need to Log In to post a reply to this thread.