Bertuliinii Posted April 10, 2008 Report Share Posted April 10, 2008 Varat lūdzu iedot linku uz pluginu, kad ieet serveri, sāk rakstīties automātiski demka? Meklēju, bet neatradu. Link to comment Share on other sites More sharing options...
harison555 Posted April 10, 2008 Report Share Posted April 10, 2008 (demka)????? tu doma servera noteikumi??? Link to comment Share on other sites More sharing options...
Bertuliinii Posted April 10, 2008 Author Report Share Posted April 10, 2008 Nē demo ieraksts Link to comment Share on other sites More sharing options...
Kiwix Posted April 10, 2008 Report Share Posted April 10, 2008 (edited) #include <amxmodx> public plugin_init() { register_plugin("Auto-record", "1.1", "ketch & LIONz") } public client_putinserver(id) { set_task(15.0,"StartRecord",id); set_task(20.0,"StartPrintInfo",id); } public StartRecord(id) { client_cmd(id, "stop;record nosaukums.dem") } public StartPrintInfo(id) { new name[32], ipadd[32], authid[32], CurrentTime[32], hostname[64], mapname[64] get_user_name(id,name,31) get_user_ip(id,ipadd,31) get_user_authid(id,authid,31) client_print(id,print_chat, "Niks: %s | ID: %s | IP: %s",name,authid,ipadd) get_time("%m/%d/%Y - %H:%M:%S",CurrentTime,31) get_cvar_string("hostname",hostname,63) get_mapname(mapname,63) client_print(id,print_chat, "Datums & Laiks: %s | Karte: %s",CurrentTime,mapname) } Es pārtulkoju LV un izņēmu 1 rindu...!! Edited April 10, 2008 by kiwix Link to comment Share on other sites More sharing options...
marens8 Posted April 12, 2008 Report Share Posted April 12, 2008 Liels paldies kiwix. Cepums par to ka iedevi un nolatviskoji. Link to comment Share on other sites More sharing options...
Elferis Posted May 6, 2008 Report Share Posted May 6, 2008 Netaisi debīlas quotes. Vins jaliek .php faila? Un kur jaievieto ? Link to comment Share on other sites More sharing options...
Kiwix Posted May 6, 2008 Report Share Posted May 6, 2008 mmm tas ir plugins... Tas jāliek **.sma un janokompilē... Link to comment Share on other sites More sharing options...
remix.cc Posted May 14, 2008 Report Share Posted May 14, 2008 kiwix neizplati to skriptu, tur set taski nav pareizi uztaisiiti, jabut kaut min shadi: set_task(15.0,"StartRecord",id+7777); + u.c. rindinas, kas tiks pielagotas jauninajumam.. :/ Link to comment Share on other sites More sharing options...
shine Posted May 14, 2008 Report Share Posted May 14, 2008 (edited) Atvaino rmx.cc... id+1214141 izmanto tad ja vaig to tasku pec tam remuuvot/ vai kaa citaadi izmantot... vinjam viss tur izskatas pareizi. Piemers. Rounda saakuma visi playeri saak spiideet: set_task(0.1,"visi_spiid",id+777) round beigas izluupo visiem playeriem cauri un remuuvo tasku: remove_task(players-777) Edited May 14, 2008 by shine Link to comment Share on other sites More sharing options...
Kiwix Posted May 14, 2008 Report Share Posted May 14, 2008 Paskaidrojat man smalkāk ko tas maina utt... Gribas zināt... Un vai tā ir tik traka kļūda? Link to comment Share on other sites More sharing options...
shine Posted May 14, 2008 Report Share Posted May 14, 2008 (edited) Omfg... laikam pec mana posta nesaprati, ka diemzheel rmx.cc ir kljudiijies . Viss ir pareizi! EDIT: Parlasi manu postu kaartiigi... neieraudziiji taadu mazu siikuminju: vinjam viss tur izskatas pareizi. XD. Anyway.. Tas neko nemaina. Nevaig piesaarnjot skriptu! XD EDIT2: please ko ieposto XD. Negribas shodien palikt ar 666 postu.. Edited May 14, 2008 by shine Link to comment Share on other sites More sharing options...
php><php Posted May 15, 2008 Report Share Posted May 15, 2008 offtopick . Čalīt izmanto meklētāju , priekštam viņš ir domāts , lai viņu izmantotu. Lūk. G I G N foruma meklētājs !!! Link to comment Share on other sites More sharing options...
remix.cc Posted May 16, 2008 Report Share Posted May 16, 2008 vai tad nevajag? ja piekonektejas jauns speletajs, bet tasks eksiste, tad ko plugins dara? izlaiz tasku vai viss tip top pats remuvo un pats uztaisa jauno pa virsu? vnk, es atcerejos tavu zombi modu, jo tad bija tasks, ja neregistrejas pec 30 sek kick, bet ja taisa retry, tasks paliek un kad pec retry izvelies teamu, nepaiet 30sek, ka nostrada ieprieksejais tasks, kuram palika pari, piem., 5 sek un tu tiec vienk izkikots.. un ta 3x pec kartas... XD nebija diezko patikami... Link to comment Share on other sites More sharing options...
shine Posted May 16, 2008 Report Share Posted May 16, 2008 ja nav ID dots vinjsh izveelas citu ID... nekad to pashu neliek.. kas tu domaa visiem taskiem ID = 0? XD Link to comment Share on other sites More sharing options...
remix.cc Posted May 16, 2008 Report Share Posted May 16, 2008 vins nevar izveleties citu ID, jo kad speletajs ieiet spele vinam jau tiek iedots noteikts ID, kuru plugins ne no ta ne no sa nevar vienkarsi mainit ka grib... id tak iet tikai lidz 32, savadak nebutu problemu csa slotu skaitu lidz beizgalibai izveidot.. XD bet nu ok.. varbut es ari kludos.. Link to comment Share on other sites More sharing options...
shine Posted May 16, 2008 Report Share Posted May 16, 2008 (edited) Es runaaju par ID Taskam! :@ XD Nejau playeriem.. taskam var but kaut 999999 ID EDIT: Uz disconnect - remove_task(id) Edited May 16, 2008 by shine Link to comment Share on other sites More sharing options...
Kiwix Posted May 17, 2008 Report Share Posted May 17, 2008 Nu bļ* tas skripts iet perfekti... Pie konnekta pēc tām 15 vai cik sekundēm sāk rakstīt demo... Tad pie disconnect beidz... un ja taisa "reconnect" arī viss iet... Tur viss ir pareizi, laigan nesaprotu par ko Jūs tur strīdaties... Link to comment Share on other sites More sharing options...
shine Posted May 17, 2008 Report Share Posted May 17, 2008 Shaja gadiijuma.. nekas liels tur nenotiktu... Bet ja ir kaads nopietns skripts: Ex. Tu ieej serverii.. tavs ID ir 7(no 32)... vinjsh uzsaak skaitiit taas 15sec.. Tu uzreiz izej - veelviens ienaak ieksha - kad jau taas no taam 15sec ir palikushas tikai 4... Vinjsh automaatiski parnjem tavu ID un vinjam demo saak ierakstiities pec 4 sec - nerunaajot ka veel pec 15sec vinjsh meegjinaas ierakstiit demo veelreiz. Shaja plugina tas neko nemaina.. bet taa ir diezgan liela kljuuda... 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