Raised This Month: $ Target: $400
 0% 

request anti knife cheat


Post New Thread Reply   
 
Thread Tools Display Modes
clovanzo
Junior Member
Join Date: Jul 2006
Old 03-05-2007 , 02:50   Re: request anti knife cheat
Reply With Quote #11

This plugins works perfect!, but i have a little more request, how to edit the plugins so it ban victims IP use amx_addban (ip) (bantime) (reason) , not ID.

Thanks.
clovanzo is offline
SAMURAI16
BANNED
Join Date: Sep 2006
Old 03-05-2007 , 11:11   Re: request anti knife cheat
Reply With Quote #12

instead of:
PHP Code:
server_cmd("banid %i #%i kick",get_pcvar_num(knife_ban_time),get_user_userid(killer)); 
Use
PHP Code:
new uip[32]
get_user_userip(killer,uip,31)
server_cmd("amx_addban %s %i ",uip,get_pcvar_num(knife_ban_time)); 
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
The_Ghost
Senior Member
Join Date: Jun 2006
Location: RoMaNiA
Old 03-05-2007 , 11:49   Re: request anti knife cheat
Reply With Quote #13

Quote:
Originally Posted by SAMURAI16 View Post
instead of:
PHP Code:
server_cmd("banid %i #%i kick",get_pcvar_num(knife_ban_time),get_user_userid(killer)); 
Use
PHP Code:
new uip[32]
get_user_userip(killer,uip,31)
server_cmd("amx_addban %s %i ",uip,get_pcvar_num(knife_ban_time)); 
doesn't compile... some errors
Undefined symbol "get_user_userip"...
__________________
We live in a world where PIZZA arrives faster than the Police !
The_Ghost is offline
Send a message via Skype™ to The_Ghost
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 03-05-2007 , 11:55   Re: request anti knife cheat
Reply With Quote #14

PHP Code:
new uip[32]
get_user_ip(killer,uip,31)
server_cmd("amx_addban %s %i ",uip,get_pcvar_num(knife_ban_time)); 
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Skissors
Senior Member
Join Date: Jan 2007
Location: Due East of my backyard
Old 03-05-2007 , 12:02   Re: request anti knife cheat
Reply With Quote #15

what is the default for the amount of kills and amount of seconds?
__________________
-Karma if you read this post
current karma i lost track but its less than -70
please leave your name, I wont be offended.

IM BACK
Skissors is offline
The_Ghost
Senior Member
Join Date: Jun 2006
Location: RoMaNiA
Old 03-05-2007 , 12:05   Re: request anti knife cheat
Reply With Quote #16

3 kills in 5 seconds
__________________
We live in a world where PIZZA arrives faster than the Police !
The_Ghost is offline
Send a message via Skype™ to The_Ghost
Skissors
Senior Member
Join Date: Jan 2007
Location: Due East of my backyard
Old 03-05-2007 , 12:27   Re: request anti knife cheat
Reply With Quote #17

k becuase 2 kills in 4 seconds is sort of common on knife rounds
__________________
-Karma if you read this post
current karma i lost track but its less than -70
please leave your name, I wont be offended.

IM BACK
Skissors is offline
The_Ghost
Senior Member
Join Date: Jun 2006
Location: RoMaNiA
Old 03-05-2007 , 13:34   Re: request anti knife cheat
Reply With Quote #18

Yep, that's what I was thinking... It may be a problem... Maybe you should set 3 kills in 3 seconds, or 2...
__________________
We live in a world where PIZZA arrives faster than the Police !
The_Ghost is offline
Send a message via Skype™ to The_Ghost
F34RInc
BANNED
Join Date: Dec 2005
Location: Medellín, Colombia
Old 03-05-2007 , 15:47   Re: request anti knife cheat
Reply With Quote #19

Wtf I requested this same thing last year and got royally flamed for it.
F34RInc is offline
Send a message via AIM to F34RInc Send a message via MSN to F34RInc
clovanzo
Junior Member
Join Date: Jul 2006
Old 03-05-2007 , 22:38   Re: request anti knife cheat
Reply With Quote #20

we have some problem here,
Code:
L 03/06/2007 - 10:36:50: [admincmd.amxx] Cmd: "clanwar-2 (Reg<0><><>" ban "168.95.1.213" (minutes ":") (reason "27005")
i need the correct log, please fix this.
clovanzo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode