GOMA smile Posted May 26, 2008 Report Share Posted May 26, 2008 Ka sauc pluginu lai serveri nevaret nomainit niku ? Link to comment Share on other sites More sharing options...
Bosik Posted May 27, 2008 Report Share Posted May 27, 2008 Man liekas nevajadzēja nekadu pluginu! pameigini amx_nick uzrakstiit consula! Link to comment Share on other sites More sharing options...
tomix1 Posted May 27, 2008 Report Share Posted May 27, 2008 Bosik, ko tu tur murgo? Pamekle amxmod.org vai te pat foruma! Link to comment Share on other sites More sharing options...
GOMA smile Posted May 27, 2008 Author Report Share Posted May 27, 2008 Man vaig lai nevaretu nomainit piemeram ieraksti niku tupac tu nevari nomainit uz superklan Link to comment Share on other sites More sharing options...
tomix1 Posted May 27, 2008 Report Share Posted May 27, 2008 Nu ir tadi topici, kur ir sarasktit pluginu sarakt! Tajos skaties! Link to comment Share on other sites More sharing options...
remix.cc Posted May 28, 2008 Report Share Posted May 28, 2008 kadu laicinu atpakal taisiju... itka stradaja Link to comment Share on other sites More sharing options...
lazda2 Posted May 28, 2008 Report Share Posted May 28, 2008 a tas gadiijumaa nav jau ieksaa ieieinslelee amx?? amx_nick "niks kuru mainiit" "niks uz kaadu mainiit" Link to comment Share on other sites More sharing options...
ap1n1s Posted May 28, 2008 Report Share Posted May 28, 2008 Labs liels paldies tev... Sho jau kaadu laiku mekleeju Link to comment Share on other sites More sharing options...
amnezija Posted May 28, 2008 Report Share Posted May 28, 2008 (edited) Lazda jautājums bija "Lai nevarētu" nevis, lai to darītu admins. anyway vari ieprovēt šito! /* AMX Mod X * No Name Change * * (c) Copyright 2006-2007 by VEN * * This file is provided as is (no warranties) * * DESCRIPTION * Plugin fully restricts name change on a server. * * VERSIONS * 0.1.1 * now name command/setinfo fileds will be restored after name change attempt * 0.1 * first release * * CREDITS * rattle - plugin request [ http://forums.alliedmods.net/showthread.php?t=47824 ] */ // plugin's main information #define PLUGIN_NAME "No Name Change" #define PLUGIN_VERSION "0.1.1" #define PLUGIN_AUTHOR "VEN" #include <amxmodx> #include <fakemeta> new const g_clcmd_template[] = "name ^"%s^"; setinfo name ^"%s^"" new const g_name[] = "name" public plugin_init() { register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR) register_forward(FM_ClientUserInfoChanged, "fwClientUserInfoChanged") } public fwClientUserInfoChanged(id, buffer) { if (!is_user_connected(id)) return FMRES_IGNORED static name[32], val[32] get_user_name(id, name, sizeof name - 1) engfunc(EngFunc_InfoKeyValue, buffer, g_name, val, sizeof val - 1) if (equal(val, name)) return FMRES_IGNORED engfunc(EngFunc_SetClientKeyValue, id, buffer, g_name, name) client_cmd(id, g_clcmd_template, name, name) client_print(id, print_chat, "[NNC] Sorry, name change isn't allowed on this server") return FMRES_SUPERCEDE } Edited May 28, 2008 by amnezija 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