hlmod.hu
https://hlmod.hu/

Record
https://hlmod.hu/viewtopic.php?f=29&t=18349
Oldal: 2 / 2

Szerző:  MeSter [ 2014.12.04. 19:41 ]
Hozzászólás témája:  Re: Record

Köszönöm !
Hát remélem steamost nem kellesz banolni :D

És még bele írnád hogy a record neve ne a map név legyen hanem az idő

SMA Forráskód: [ Mindet kijelol ]
  1. get_time("%Y_%m_%d--%H_%M_%S"

Szerző:  CrB [ 2014.12.04. 20:15 ]
Hozzászólás témája:  Re: Record

SMA Forráskód: [ Mindet kijelol ]
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5.  
  6. #define PLUGIN "New Plug-In"
  7. #define VERSION "1.0"
  8. #define AUTHOR "author"
  9.  
  10.  
  11. public plugin_init() {
  12. register_plugin(PLUGIN, VERSION, AUTHOR)
  13.  
  14. }
  15. public client_putinserver(id)
  16. {
  17. set_task(5.0, "recon", id)
  18. }
  19. public recon(id)
  20. {
  21. new ido[32], szTemp[512]
  22. get_time("%Y_%m_%d--%H_%M_%S", ido, 31)
  23. formatex(szTemp, charsmax(szTemp), "szeroneve_%s", ido)
  24.  
  25. client_cmd(id, "record %s", szTemp)
  26. }
  27. public client_disconnect(id) client_cmd(id, "stop")
  28.  

Oldal: 2 / 2 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/