exe Posted November 17, 2007 Report Share Posted November 17, 2007 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 More sharing options...
akec Posted November 17, 2007 Report Share Posted November 17, 2007 (edited) #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 November 17, 2007 by akec Link to comment Share on other sites More sharing options...
exe Posted November 17, 2007 Author Report Share Posted November 17, 2007 Tik un tā neiet... :/ Link to comment Share on other sites More sharing options...
akec Posted November 17, 2007 Report Share Posted November 17, 2007 njam.. citi nepalīdz.. tad vienīgā vaina, kas tur varētu būt ir šī vietiņa: client_cmd(0 Ieliec tajā '0' vietiņā: '1'. Link to comment Share on other sites More sharing options...
Kiwix Posted November 17, 2007 Report Share Posted November 17, 2007 #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 More sharing options...
10BaseT Posted November 17, 2007 Report Share Posted November 17, 2007 (edited) client_cmd(id, "record MITCLUB") Edited November 17, 2007 by 10BaseT Link to comment Share on other sites More sharing options...
FuNk1Y Posted November 17, 2007 Report Share Posted November 17, 2007 #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 More sharing options...
remix.cc Posted November 17, 2007 Report Share Posted November 17, 2007 (edited) nus.. es arii iepostoshu.. /* 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.. murgs... XD Edited November 18, 2007 by remix.cc Link to comment Share on other sites More sharing options...
shine Posted November 18, 2007 Report Share Posted November 18, 2007 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 More sharing options...
remix.cc Posted December 1, 2007 Report Share Posted December 1, 2007 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now