how to restart a server when in game ?
example to shutdown game is
if ( cmd == "shutdown" )
{
ShutdownServer();
}
how to make a restart cmd
problem solved by my self
heres the trick
when ur server is running and u feel something suspicious
copy this code to ur notepad
@echo off
taskkill /f /im server32.exe
START test.vbs
save it as .bat extention
then other code
Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run("""G:\TDCupdated\server32.exe""")
Set objShell = Nothing
WScript.Sleep 250
save it as .vbs know copy both bat and vbs files to ur location:\folder\where server is kept
only works when ur server is running its a program that jst terminates a running application
and restarts it
Oops still not solved????
Use Search Button if not find in this forum go to old forum dont spam i know you only increasing your posts
Note: And next time use correct board this is wrong
Quote from: Hercules on Jul 20, 2016, 12:08 PMUse Search Button if not find in this forum go to old forum dont spam i know you only increasing your posts
Note: And next time use correct board this is wrong
just shut ur..u got problem? i am in a seroiuos problem shutdown cmd wrks but why not restart can u answer that .....dumhead
yes i can but next time use search button
http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=2379.msg20116#msg20116
wow sry thnx