SadiS^CCCP* Posted May 16, 2008 Report Share Posted May 16, 2008 (edited) 4e za hrenj?! man admin check strada tik tad ja raksta say "./admin" "./admins" ka izlabot? lai vnk say "/admin" amxmodx foruma ari citiem tada problema ta4 tur her ko sapratisi no nigu valodas Edited May 16, 2008 by SadiS^CCCP* Link to comment Share on other sites More sharing options...
janis187 Posted May 16, 2008 Report Share Posted May 16, 2008 atver plugina sma faili nomaini "./admin" uz /admin nokoplile un viss tas ir ja pareizi sapratu tavu problemu Link to comment Share on other sites More sharing options...
SadiS^CCCP* Posted May 16, 2008 Author Report Share Posted May 16, 2008 nokoplile un viss tas ir ja pareizi sapratu tavu problemu Da ne ka redzi viss ir bumbaas!!! #include <amxmodx> /*---------------EDIT ME------------------*/ #define ADMIN_CHECK ADMIN_KICK static const COLOR[] = "^x04" //green static const CONTACT[] = "/admin" /*----------------------------------------*/ new maxplayers new gmsgSayText public plugin_init() { register_plugin("Admin Check", "1.51", "OneEyed") maxplayers = get_maxplayers() gmsgSayText = get_user_msgid("SayText") register_clcmd("say", "handle_say") register_cvar("amx_contactinfo", CONTACT, FCVAR_SERVER) } public handle_say(id) { new said[192] read_args(said,192) if( ( containi(said, "who") != -1 && containi(said, "admin") != -1 ) || contain(said, "/admin") != -1 ) set_task(0.1,"print_adminlist",id) return PLUGIN_CONTINUE } public print_adminlist(user) { new adminnames[33][32] new message[256] new contactinfo[256], contact[112] new id, count, x, len for(id = 1 ; id <= maxplayers ; id++) if(is_user_connected(id)) if(get_user_flags(id) & ADMIN_CHECK) get_user_name(id, adminnames[count++], 31) len = format(message, 255, "%s ADMINS ONLINE: ",COLOR) if(count > 0) { for(x = 0 ; x < count ; x++) { len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"") if(len > 96 ) { print_message(user, message) len = format(message, 255, "%s ",COLOR) } } print_message(user, message) } else { len += format(message[len], 255-len, "No admins online.") print_message(user, message) } get_cvar_string("amx_contactinfo", contact, 63) if(contact[0]) { format(contactinfo, 111, "%s Contact Server Admin -- %s", COLOR, contact) print_message(user, contactinfo) } } print_message(id, msg[]) { message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id) write_byte(id) write_string(msg) message_end() } Link to comment Share on other sites More sharing options...
shine Posted May 16, 2008 Report Share Posted May 16, 2008 Ieteiktu neapvainot vinjus... kaada tev NIGU valoda? Krutais... anyway - ja raksta "g/admin" vai arii "sdfsdfdsfs/admin" tad ar straadaa ne? Link to comment Share on other sites More sharing options...
SadiS^CCCP* Posted May 17, 2008 Author Report Share Posted May 17, 2008 nu ja bet man vaig vnk lai ir say /admin ja ir kadam savadaks kods plz ielieciet to sheit Link to comment Share on other sites More sharing options...
shine Posted May 17, 2008 Report Share Posted May 17, 2008 nomaini: read_args(said,192) if( ( containi(said, "who") != -1 && containi(said, "admin") != -1 ) || contain(said, "/admin") != -1 ) uz: read_args(said,191) if(containi(said,"/admin")) Link to comment Share on other sites More sharing options...
SadiS^CCCP* Posted May 17, 2008 Author Report Share Posted May 17, 2008 Tapat nestrada Link to comment Share on other sites More sharing options...
shine Posted May 18, 2008 Report Share Posted May 18, 2008 You're lame... viss iet.. nestaasti tik ka neiet. Link to comment Share on other sites More sharing options...
SadiS^CCCP* Posted May 18, 2008 Author Report Share Posted May 18, 2008 Puisit te nepis man mozgu ja nemaki palidzet!? ok? Link to comment Share on other sites More sharing options...
SadiS^CCCP* Posted May 18, 2008 Author Report Share Posted May 18, 2008 Ja kadi personigi jaut... raxti privataja nezime savu luupu krasu te Link to comment Share on other sites More sharing options...
SadiS^CCCP* Posted May 18, 2008 Author Report Share Posted May 18, 2008 Nu nieiet puis...... dariju ka liki terminator Link to comment Share on other sites More sharing options...
SadiS^CCCP* Posted May 18, 2008 Author Report Share Posted May 18, 2008 Ja god... man intrese rezultats.. ne vijeboni... tatad ar pakluse ja nevelies krievam palidzet 4mo!!! Link to comment Share on other sites More sharing options...
SadiS^CCCP* Posted May 18, 2008 Author Report Share Posted May 18, 2008 Skatos pat pajautat nedrixt pscees ne?? nepatik tad nac iedod galvaa nacik nepar ko Link to comment Share on other sites More sharing options...
Kiwix Posted May 18, 2008 Report Share Posted May 18, 2008 Five posts in a row! WOW. Jauns rekords, kuru redzu... Varbūt tomēr kāds moders viņu nobanojat?!?! Link to comment Share on other sites More sharing options...
shine Posted May 18, 2008 Report Share Posted May 18, 2008 Idiot. Neesmu vainiigs ka tu esi tik stulbs... kads daunis kas nemaak pluginu uzlikt. :@! + veel 5th post. Link to comment Share on other sites More sharing options...
Dagaupulis Posted May 18, 2008 Report Share Posted May 18, 2008 SadiS^CCCP* ko tu teici????????? LIELS MUĻĶIS kam vispār nav prāta, kad būsi beidzis ķemmēt uzacis nāc ciemos es tev došu darbu un ļaušu gulēt iekšā un iedošu pašam savu spaini par toleti!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
php><php Posted May 18, 2008 Report Share Posted May 18, 2008 1) Tu tēlo dalbku ?? 2) Tu vnk spamo un krāj sev poustus to var manīt ! 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