Jump to content
  • 0

T-Ban


Viorel

Question

5 answers to this question

Recommended Posts

Folosesti mktime.

Intr-un fisier scrii minutele cat tine ban-ul si data la care si-a luat ban, ora, secunda, minut, zi, luna, an, iar cand intra, verifici fisierul lui (de ex: "NUME.ban") daca in fisierul ala sunt 300 de secunde ( 5 minute ) si data e 11.08.2009.

Folosesti new secunde = mktime(ora, minut, secunda, zi, luna, an); (din fisier) si daca secundele din fisier < "secunde", il lasi sa intre si eventual stergi fisierul.

Daca am un pic de timp o sa-l fac eu.

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

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.