thx for the answert, questio is 14:30:00 possiple or is it only 0-12 possible
If my file is located here C:\FXServer\run.cmd +exec server.cfg how do i add it to your script?
Bon a ce que je peu voir tu es francais, alors je suis au québec et j’ai fais le test du restart puis j’ai mis 13;30, 13;31 et 13;32 pour voir si la notification marchais et il semblerais je ne recois aucune notification ? est-ce que c’est l’heure locale sur notre PC qu’on dois mettre ou ??? il manque de l’information poto
salut,
je crois que c’est ici ton problème.
AddEventHandler(‘restart:checkreboot’, function()
date_local = os.date(’%H:%M:%S’, os.time())
if date_local == ‘19:30:00’ then
TriggerClientEvent(“es_freeroam:notify”, -1, “CHAR_LIFEINVADER”, 1, “SERVEUR”, false, text1)
elseif date_local == ‘19:45:00’ then
TriggerClientEvent(“es_freeroam:notify”, -1, “CHAR_LIFEINVADER”, 1, “SERVEUR”, false, text2)
elseif date_local == ‘19:55:00’ then
TriggerClientEvent(“es_freeroam:notify”, -1, “CHAR_LIFEINVADER”, 1, “SERVEUR”, false, text3)
end
end)
a la place de false mais true
Mais POURQUOI cela serais à 19h30? Si au Québec lorsque je lai essayer il était 13h …
c’est l’heure de ton serveur qui compte
Please keep the conversation in english, since this is an english forum.
1 Like
How do we know what time is it lol ?
put the time you want to rebot it will check the server time don t worry
yes 14h30 ins’t possible , 14h 15h 16h 17h>>>>>>>23h yes
Perfect! Thx for the fast answer, ve a nice day, dude!
How do we know the time of our server
With most linux machines you can use the command “date” to get the time of the server.
it’s the same hours of your computer
@ECHO OFF
:choice
set /P c=Would you like to lelete your sevrer cache?[Y/N]?
if /I “%c%” EQU “Y” goto :somewhere
if /I “%c%” EQU “N” goto :somewhere_else
goto :choice
:somewhere
echo “Deleting server cache”
rd /s /q “C:\FXServer_ESX\cache”
echo -
echo FXServer
echo -
SanMan
38
Getting this error message.
[17:08:14.98] - Open server
The system cannot find the path specified.
[17:08:14.98] - Launching the backup
The system cannot find the path specified.
The system cannot find the path specified.
[17:08:14.98] - Backup ends
The system cannot find the path specified.
I have the right path set or the server would not have booted up. I also have added you two folders backups an logs to the main root folder. Maybe something that I’m over looking.
Hello,
Did you follow correctly step by step?
Hello,
Did you follow correctly step by step?
i will check that error
hi, thanks for giving us the opportunity to use this script. I have the same problem as the guy above from me that the specified path cannot be found. I followed all the steps in fact the server starts quietly. Could you help me?