
   /* AMX Mod script.
   *
   * (c) 2003, Que^
   * This file is provided as is (no warranties).
   *
   * Created with SmallEd ( http://small-editor.ih.nu/ )
   */
   #include <amxmod>
   #include <geoip>
   public listplayersx(id,level,cid){
       new players[32], inum
       new name[32], ip[32], country[45]
       get_players(players, inum)
       for(new a=0;a<inum;++a) {
           get_user_name(players[a],name,31)
           get_user_ip(players[a],ip,31)
           geoip_country(ip,country)
           client_print(id,print_console,"%d             :             %s
   (%s)",get_user_userid(players[a]),name,country)
       }
       return PLUGIN_CONTINUE
   }
   public plugin_init(){
       register_plugin("ListPlayersX","0.1","Que^^")
       register_clcmd("listplayersx","listplayersx")
   }
