Cerere plugin

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
unkk
Membru, skill 0
Membru, skill 0
Posts: 23
Joined: 13 May 2010, 15:22
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Has thanked: 4 times
Contact:

20 Sep 2010, 13:52

As dori un plugin care printr o comanda in consola (gen amx_showcountry) sa mi arate din ce tara este fiecare jucator .. sa verifice de pe ip ... nu am mai vazut nicaieri pluginul asta dar m am gandit eu la el si cred ca voi ma puteti ajuta si pe mine si pe altii care mai au nevoie de el :D
unkk
Membru, skill 0
Membru, skill 0
Posts: 23
Joined: 13 May 2010, 15:22
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Has thanked: 4 times
Contact:

22 Sep 2010, 13:41

ma ajuta si pe mine cineva sau nu stie nimeni sa l faca :D
User avatar
evrolinKK
Membru, skill +2
Membru, skill +2
Posts: 688
Joined: 25 Feb 2008, 10:45
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (2 luni)
Nume anterior : EvroLink
Ban 3 luni ! (expirat)
Has thanked: 12 times
Been thanked: 23 times

22 Sep 2010, 18:09

| Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#include <geoip>

#define COUNTRY

#if defined COUNTRY
#endif

#define PLUGIN "AMXX Show-Country"
#define VERSION "1.0"
#define AUTHOR "new"

public plugin_init() {
   register_plugin(PLUGIN, VERSION, AUTHOR);
   register_concmd("admin_oras","cmd_oras",ADMIN_KICK)
}

public cmd_oras(id,level,cid)
{
   if(!cmd_access(id,level,cid,1))
      return PLUGIN_HANDLED;
   
   console_print(id,"<----------------------------------->")
   new players[32], num
   get_players(players, num)
   new i

   static country[ 46 ];
   
   for(i=0;i<num;i++)
   {
   new name[32] ;
   new ip[32]
   get_user_ip(id,ip,31,1)
   get_user_name(players,name, 31)
   geoip_country(ip,country)
   console_print(id,"Nume: %s - Tara: %s", name, country)
   }
   console_print(id,"<----------------------------------->")
   return PLUGIN_HANDLED
}
unkk
Membru, skill 0
Membru, skill 0
Posts: 23
Joined: 13 May 2010, 15:22
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Has thanked: 4 times
Contact:

23 Sep 2010, 14:30

multumesc :D
User avatar
evrolinKK
Membru, skill +2
Membru, skill +2
Posts: 688
Joined: 25 Feb 2008, 10:45
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (2 luni)
Nume anterior : EvroLink
Ban 3 luni ! (expirat)
Has thanked: 12 times
Been thanked: 23 times

23 Sep 2010, 17:39

unkk wrote:multumesc :D
Apasa si butonul "Multumesc", merci :)
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests