Jump to content
GIGN Forum

Auto Demo Record


Recommended Posts

tauta es zmekleeju visu gigna forumu un atradu tikai divu veidu auto demo record plugina, pirmais veids raksta demku bez apstaajas tobish saak rakstiit demku un kad mainaas mape vinjsh turpina demku rakstiit un beigaas ilgi speeleejot demka var aiznjemt simtiem MB...

otrais veids raksta demku katra raunda saakumaa, liidz ar to cs saak gljukot un visi saak skraidiit itkaa pa gaisu...

vai vareetu kaads izlikt pluginu kursh saak rakstiit demku kad klients ir piekonekteejies serverim un katraa jaunaa mapee saak no jauna to demku rakstiit?

Link to comment
Share on other sites

tieshi taa! tu laikam lasiit arii nemaaki! man vajag lai katru mapi raksta no jauna pa virsu vecai demkai, nevis ja es speeleeshu 5 stundas man taas visas 5 stundas buus vienaa demkaa. tad sanaak ja cilveeks speelees 5 stundas bez izieshanas no servera un es vinju nobanoju ar reasonu "cheats" tad man aizies nezheeliigi daudz laika lai es izskatiitu visu 5 stundu garo demku!

(kaa arii klients man metiis savu lielo demku vairaakas stundas...)

Link to comment
Share on other sites

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "record demo"
#define VERSION "1.0"
#define AUTHOR "rmx.cc"
#define demoname "test111"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
}

public client_putinserver(id) {
    set_task(10.0, "cmdrec")
}
public cmdrec(id) {
    client_cmd(id, "stop; wait; wait; record %s", demoname)
}

#define demoname "test111" te vajag noradiit demo nosaukumu...

P.S. es pluginu netesteeju.. ja kaut kas nestrada saki...

Link to comment
Share on other sites

nafig tew to vajag??

vnk hltv nokonfiguree lai vins pie palaissanas piesleedzas serverim un raksta demo

piekaast to pirmo raundu!! uzlieec ka pirmais raunds restarteejas un viss buus bumbaas

connect "tava servera IP"
name "HLTV vārds"
record "../../../../../Web/www/demo/"

Link to comment
Share on other sites

:( kaa lai izdara lai demo rakstiitu no mapes saakuma liidz mapes beigaam?

nu dabiigi.. mapes saakuma vins parbauda, vai gadiijuma demo jau neierakstaas-> ja ierakstas notiek komanda stop un tev konsolee paraadas uzraksts Completed demo un saakas ierakstiities jauns demo pa virsu vecajam...

kas tev nepatiik..? <_<

Link to comment
Share on other sites

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "record demo"
#define VERSION "1.0"
#define AUTHOR "rmx.cc"
#define demoname "test111"

new check[33]

public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
}

public client_putinserver(id) {
    check[id] = 0
    set_task(10.0, "cmdrec")
}
public cmdrec(id) {
    if(check[id] == 0) {
        client_cmd(id, "stop; wait; wait; record %s", demoname)
        check[id] = 1
    }
    else {
        return PLUGIN_HANDLED
    }
    return PLUGIN_HANDLED
}

nu un shis..? XD neesmu nekads pro, bet nu pameegini...

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...