View Single Post
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-06-2006 , 16:48  
Reply With Quote #3

Some general improvements. Also, I don't like that you don't use coherent English in the plugin itself. I have no problem with people typing with no sentence structure and what not on the forums and what not, but in plugins it makes you look like a dumbass.

Code:
/* TM_ Verification Plugin   Need To Have ADMIN_IMMUNITY   type TM_verify   Will give u ALl Information Of Users */ #include <amxmodx> #include <amxmisc> #define SHOW_PORT 1 public plugin_init() {     register_plugin("TM_verification", "1.0", "Taher Ali")     register_concmd("TM_verify" , "concmd_info" , ADMIN_IMMUNITY, "Displays Information Of All Users In The Server") } public concmd_info(id,level,cid) {     if ( !cmd_access(id,level,cid,1) )         return PLUGIN_HANDLED     new players[32],num,name[32],rate[32],updaterate[32],cmdrate[32],steamid[35],userip[64],player     get_players(players,num)         if(!num)     {         client_print(id, print_console, "The server is currently empty")         return PLUGIN_HANDLED     }         client_print(id, print_console, "Currently connected players...")     client_print(id, print_console, "# SteamID Name rate cl_updaterate cl_cmdrate ip")         for (new i = 0; i < num; i++)     {         player = players[i]         get_user_name(player, name, 31)         get_user_authid(player, steamid, 34);         get_user_info(player, "rate", rate, 31)         get_user_info(player, "cl_updaterate", updaterate, 31)         get_user_info(player, "cl_cmdrate", cmdrate, 31)         get_user_ip(player, userip , 63 , SHOW_PORT)         client_print(id, print_console, "%d  %s   %s   %s   %s   %s   %s", get_user_userid(player), steamid, name, rate, updaterate, cmdrate, userip)     }         return PLUGIN_HANDLED }
__________________
Hawk552 is offline
Send a message via AIM to Hawk552