So, I tryed in a script to [B][URL="http://wiki.garrysmod.com/page/Global/RunConsoleCommand"]RunConsoleCommand[/URL]("lua_run", "SERVERRestart(true)")[/B], and it didn't work [I](Because it is blocked)[/I].
How can I do [B]lua_run[/B] in a server-side script? [I](Like with [URL="http://wiki.garrysmod.com/page/Player/SendLua"]Player:SendLua( string script )[/URL])[/I]
why not use [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/game/ConsoleCommand]game.ConsoleCommand[/url] and _RESTART
Both of these works!
Thanks!
Sorry, you need to Log In to post a reply to this thread.