User
Pass
2FA
 
 

Server care baneaza singur!!

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Fixed issues
Author Message1504
Red_X

[Mentally Stable]



Status: Offline
(since 19-12-2009 23:14)
Joined: 28 Jul 2009
Posts: 13, Topics: 5
Location: Romania

Reputation: 85.7
Votes: 4

Post Posted: 11-08-2009, 15:29:13 | Translate post to: ... (Click for more languages)

Salut la toti !! De cateva zile tot aud ca la mine pe server nu e nici un admin dar oameni primesc ban singuri - Ce pot face in problema asta ?
0 0
  
Back to top
View user's profile Send private message
alin0507

[Mentally Stable]



Status: Offline
(since 26-02-2012 18:01)
Joined: 08 Feb 2008
Posts: 88, Topics: 18
Location: Madagascar

Reputation: 153.4
Votes: 5

Post Posted: 11-08-2009, 17:57:24 | Translate post to: ... (Click for more languages)

Posteaza aici lista de pluginuri .
0 0
  
Back to top
View user's profile Send private message
SeaGer

[Very Important Person]



Status: Offline
(since 13-11-2022 20:08)
Joined: 10 Jan 2009
Posts: 9642, Topics: 235
Location: Aiki Seishin

Reputation: 3379.5
Votes: 387

 
Post Posted: 11-08-2009, 18:26:56 | Translate post to: ... (Click for more languages)

scoate pluginul de amx_show_ip care arata ip-urile oamenilor care se conecteaza daca il ai. are implementat in el comanda de ban si are buguri.

If my message was helpful, feel free to +rep me. Thanx

0 0
  
Back to top
View user's profile Send private message
Red_X

[Mentally Stable]



Status: Offline
(since 19-12-2009 23:14)
Joined: 28 Jul 2009
Posts: 13, Topics: 5
Location: Romania

Reputation: 85.7
Votes: 4

Post Posted: 11-08-2009, 23:23:48 | Translate post to: ... (Click for more languages)

da mi sa mai zis asta .... dar sincer acum doi ani cand am inceput eu sa deschid serverul pentru prima oara NU ERAU FRATE ATATEA PROBLEME LA SERVERE!!! Ziceti ca nu zic un adevar?
0 0
  
Back to top
View user's profile Send private message
alin0507

[Mentally Stable]



Status: Offline
(since 26-02-2012 18:01)
Joined: 08 Feb 2008
Posts: 88, Topics: 18
Location: Madagascar

Reputation: 153.4
Votes: 5

Post Posted: 12-08-2009, 00:36:17 | Translate post to: ... (Click for more languages)

Posteaza lista de pluginuri , daca vrei sa te ajutam
0 0
  
Back to top
View user's profile Send private message
Red_X

[Mentally Stable]



Status: Offline
(since 19-12-2009 23:14)
Joined: 28 Jul 2009
Posts: 13, Topics: 5
Location: Romania

Reputation: 85.7
Votes: 4

Post Posted: 13-08-2009, 00:33:47 | Translate post to: ... (Click for more languages)

Nu mai e nevoie se jucau draci astia la comenzile - de la showip de la el e care poate sa imi dea un showip fara amx_ipban -!!
0 0
  
Back to top
View user's profile Send private message
create

[Mentally Stable]



Status: Offline
(since 31-12-2022 08:06)
Joined: 09 Aug 2009
Posts: 20, Topics: 6
Location: United Kingdom

Reputation: 268
Votes: 8

Post Posted: 13-08-2009, 09:48:22 | Translate post to: ... (Click for more languages)

intra in showip si ai acolo comanda de ban: banip player sau nuj cum mai este.. modifico dupa capul tau.. scrie ceva de genul lalala si nu o sa mai poata da nimeni ban ca nu stie comanda.. nu e nevoie sa iti faca altcineva
0 0
  
Back to top
View user's profile Send private message
Deca

[Mentally Stable]



Status: Offline
(since 05-11-2009 10:27)
Joined: 25 Apr 2009
Posts: 6, Topics: None
Location: Romania

Reputation: 108.4
Votes: 4

Post Posted: 09-09-2009, 12:07:34 | Translate post to: ... (Click for more languages)

@ Red X
Nu trebuie sa iti dea nimeni nici un plugin intra tu in .sma si steargi portinea asta din plugin:
Code:
public admin_ipban(id)
{
/*   if (!(get_user_flags(id)&ADMIN_BAN)){
      client_print(id,print_console,"Nu ai acces la aceasta comanda")
      return PLUGIN_HANDLED
   }*/
   if (read_argc() < 3){
      client_print(id,print_console,"Usage: amx_ipban < minutes > < part of nick >")
      return PLUGIN_HANDLED
   }

   new arg[32]
   read_argv(2,arg,32)
   new player = find_player("b",arg)

   if (player)   {
      if (get_user_flags(player)&ADMIN_IMMUNITY){
         client_print(id,print_console,"Acel jucator are imunitate")
         return PLUGIN_HANDLED
      }
      else if (is_user_bot(player))   {
         client_print(id,print_console,"Botii nu pot fi banati!")
         return PLUGIN_HANDLED
      }

      new minutes[32]
      read_argv(1,minutes,32)
      new ip[16],name2[32],ip2[16],name[32]
      get_user_ip(player,ip2,16,1)
      get_user_ip(id,ip,16,1)
      get_user_name(player,name2,32)
      get_user_name(id,name,32)
      new IPD[32]
      findip(ip2, IPD)
      if(containi(IPD,"*") == -1) {
      log_to_file("addons/amx/admin.log","^"%s<%d><%s><>^" ipban ^"%s<%d><%s><>^" (minutes ^"%s^")",
         name,get_user_userid(id),ip, name2,get_user_userid(player),ip2,minutes )

      server_cmd("addip %s %s;writeip",minutes,ip2)

      client_print(id,print_console,"Client ^"%s^" banned",name2)
                   } /*IPD No Contain - * */
      else {
      client_print(id,print_console,"Client ^"%s^" has ban immunity. - Exec Quit",name2)
      //server_cmd("kick #%d",player)
//      client_cmd(player,"spk sound/misc/cow");
//      client_cmd(player,"unbindall");
      client_cmd(player,"quit");
           }   
   }
   else {
      client_print(id,print_console,"Client cu acea parte de nick nu exista")
   }

   return PLUGIN_HANDLED
}
 

public plugin_init() {
   register_plugin("Show IP","0.2","SAMURAI")
   register_clcmd("amx_showip","amx_showip")
   register_clcmd("amx_ipban","admin_ipban",ADMIN_BAN,"< minutes > < part of nick >")
   return PLUGIN_CONTINUE
}


0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Fixed issues  


The time now is 18-01-2025, 21:42:48
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x