Raised This Month: $ Target: $400
 0% 

Trick the cheaters


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vinnybcfc
New Member
Join Date: Jul 2004
Old 07-16-2004 , 18:00   Trick the cheaters
Reply With Quote #1

I am trying to make a script that will display something like this:

This server is enabled with VAC 2 Beta (Which will be on Half-Life 2) it will ban you on all VAC servers for 3 years and wipe your Steam install if you are cheating, leave now if you have any hacks running

1) Enter
2) Leave (Then it kicks them with a message saying "Come back when you take your cheats off" or d/cs the client)

I need to do line breaks in the description and I would like it to come up in spectator view I saw something like this on Half Life Rally but it asked to agree to the server rules, I tried to write it myself but had problems

I have had a couple of cheaters on the server and hopefully it will trick them

*edit*

Just remembered I need a timer that will boot them if they dont make their mind up whelter they will stay or not

My attempt:
Code:
#include <amxmodx>

public plugin_init()
{
	register_plugin("VAC2Warning","Version 1.0","vinnybcfc")
	register_menucmd(register_menuid("VAC2Warning"),1023,"MenuNameChoice")
}

public client_connect(id)
{
	if (is_user_alive(id)) {
		new menuBody[1024] 
		new key
		
		format(menuBody, 1023, "\rVAC 2 Beta is installed on this server you will get banned for 3 years on all VAC servers and you Half-Life install will be wiped if you are cheating do you accept the terms?\R^n^n\y1.\w Yes^n\y2.\w No^n\")
		key = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<7)|(1<<8)|(1<<9)
	
		show_menu(id, key, menuBody)
	}
}

public MenuNameChoice(id, key)
{
	switch(key)
	{
		case 0:
		{
client_print(id, print_chat, "You have accepted the terms")
return PLUGIN_HANDLED
		}
		case 1:
		{
client_print(id, print_chat, "Turn your cheats off then come back on the server :)")
server_cmd("amx_kick (id) ^"Turn your cheats off then come back on the server :)^"")
		}
	}
}
vinnybcfc is offline
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 07-16-2004 , 18:50  
Reply With Quote #2

if the cheat is detected the guy can t enter.... BANNED for 1 ( not 3 ) year
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
vinnybcfc
New Member
Join Date: Jul 2004
Old 07-16-2004 , 19:04  
Reply With Quote #3

lol this is a fake script to scare noob cheaters but I need help in getting it working
vinnybcfc is offline
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 07-16-2004 , 20:50  
Reply With Quote #4

Quote:
Originally Posted by vinnybcfc
lol this is a fake script to scare noob cheaters but I need help in getting it working
i see that on a server , i LMAO and connect on other server ( fake script take real CPU )
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
Ingram
Veteran Member
Join Date: May 2004
Old 07-17-2004 , 05:55  
Reply With Quote #5

lol i wouldn't, i'd have nothing to worry about anyway

Code:
key = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<7)|(1<<8)|(1<<9)
can't u press any key then?? aren't u just looking for 1 and 2?
Ingram is offline
vinnybcfc
New Member
Join Date: Jul 2004
Old 07-17-2004 , 11:04  
Reply With Quote #6

The problems I have is that the message doesnt come up at all. In the compiler (local not web one) it says a warning about MenuNameChoice saying that there isnt a value or something like that. Also I dont know where to put the time bit in to kick them after 10 seconds of not answering the question
vinnybcfc is offline
Reply


Thread Tools
Display Modes

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 14:54.


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