Jump to content
  • 0

Restart Programat Help!


mrtea

Question

6 answers to this question

Recommended Posts

  • 0
11 hours ago, Banditul said:

Nu trebuie sa stii prea multa mate sa iti dai seama ca ceva mai mic de 60 impartit la 60 da 0 virgula ceva. 

La formatul cu secundele , sterge acel impartit la 60 (restarttime/60 , format nu if)

Crede-ma m-am gandit la asta , dar daca in acel video a mers atunci?...

Am modificat asa:

else if (RestartTime/60 == 0) format(string, sizeof(string), "Restart-ul se va da peste ~y~%d secunde ~w~~n~ Motiv: %s", RestartReason);

si acum imi da : 116 secunde daca dau Restart la un minut! 

Screenshot (4).png

Link to comment
Share on other sites

  • 0
else if (RestartTime/60 == 0) format(string, sizeof(string), "Restart-ul se va da peste ~y~%d secunde ~w~~n~ Motiv: %s", RestartTime/60, RestartReason);

In tutorial aceasta linie el a modificat-o asa:

else if (RestartTime/60 == 0) format(string, sizeof(string), "Restart-ul se va da peste ~y~%d secunde ~w~~n~ Motiv: %s", RestartTime, RestartReason);

 

  • Upvote 1
Link to comment
Share on other sites

  • 0
24 minutes ago, Banditul said:

else if (RestartTime/60 == 0) format(string, sizeof(string), "Restart-ul se va da peste ~y~%d secunde ~w~~n~ Motiv: %s", RestartTime/60, RestartReason);

In tutorial aceasta linie el a modificat-o asa:


else if (RestartTime/60 == 0) format(string, sizeof(string), "Restart-ul se va da peste ~y~%d secunde ~w~~n~ Motiv: %s", RestartTime, RestartReason);

Da Adevarat , am fost neatent, multumesc mult pentru ajutor! 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.