Jump to content
GIGN Forum

Auro_demo_record Neiet :/


Recommended Posts

Kapēc man neiet plugins - auto_demo_record ?

Scripts ir šāds

#include <amxmodx>
#include <amxmisc>


public client_connect(id)
client_cmd(0, "record ^"MITCLUB^"^"")


public plugin_init() {
register_plugin("Demo Recorder","1.1","lala")

}

Bet kad piekonektējas serverim, visu laiku rādās konsulē nevis ka viņš ieraksta demo, bet šādi:

record <demoname> <cd track

Un nekas tā arī netiek ierakstīts...

Kas par problēmu?

Link to comment
Share on other sites

#include <amxmodx>
#include <amxmisc>


public client_connect(id)
client_cmd(0, "record "MITCLUB")


public plugin_init() {
register_plugin("Demo Recorder","1.1","lala")

}

Nedaudz palaboju.. pamēģini tagad..

Edited by akec
Link to comment
Share on other sites

#include <amxmodx>

#include <amxmisc>

public client_connect(id)

client_cmd(0, "record ^"demkas nosaukums^"^"")

public plugin_init() {

register_plugin("Demo Recorder","1.0","asd")

}

^^^

Man ir tāds un viss iet, pamēģini!!!

Link to comment
Share on other sites

#include <amxmodx>
#include <amxmisc>

public plugin_init() {
register_plugin("Client Demo Recorder", "1.0", "izeed")
}
public client_putinserver(id) {
set_task(5.0,"record",id)
return PLUGIN_CONTINUE
}
public record(id) {
client_cmd(id,"record DEMONOSAUKUMS")
return PLUGIN_CONTINUE
}

Link to comment
Share on other sites

nus.. es arii iepostoshu.. :D

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

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


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_logevent("start", 2, "1=Round_Start")
    
}

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

public start(id) {
    set_task(1.0, "record")
}
public record(id) {
    client_cmd(id, "record %s", demoname)
}

#define demoname "test111"

test111 vieta ieraksti demo nosaukumu...

public client_putinserver(id) {

set_task(5.0,"record",id)

return PLUGIN_CONTINUE

}

ja godigi, es visu laiku jaucu shitos authorized' us, connect, putinserver... laikam putinserver bija pedeja stadija, kad jau tiesham naak serveri... nu par public_connect putinserver tiesham labaks, bet arii.. 5 sekundes.. paspes, nepaspes.. :D murgs... XD

Edited by remix.cc
Link to comment
Share on other sites

sen ar pluginiem neesmu njeemies bet nax:

register_logevent("start", 2, "1=Round_Start")

public start(id) {
    set_task(1.0, "record")
}

public record(id) {
    client_cmd(id, "record %s", demoname)
}

tatad katru raundu DeMo? lol?

un

public client_connect(id) {
    set_task(10.0, "cmdrec")
}

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

bi6ku kaut ko samurgojis esi?

mo6 ieskataties ko vinjam konsole rada?!

Bet kad piekonektējas serverim, visu laiku rādās konsulē nevis ka viņš ieraksta demo, bet šādi:

record <demoname> <cd track>

<_<

Link to comment
Share on other sites

  • 2 weeks later...

1. katru raundu vins neierakstiis... vins tikai parbaudiis katru raundu, vai notiek ieraksts! jo biezi sanak, ka ar client_connect neiedarbojas ierakstiishana.. nut ad lai vismaz saak ar nakamo raundu!!!

2. kapec

public cmdrec(id) {

client_cmd(id, "stop; wait; wait; record %s", demoname)

}

liku neatceros...

public cmdrec(id) {

client_cmd(id, "record %s", demoname)

}

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...