Raised This Month: $51 Target: $400
 12% 

[HELP] Fake Team Bot


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ultimatgold
BANNED
Join Date: Jan 2013
Location: https://t.me/pump_upp
Old 01-20-2015 , 00:16   [HELP] Fake Team Bot
Reply With Quote #1

Hi!

This plugin, no compiled. Too mutch error:

Code:
#include <amxmodx>
#include <fakemeta>
#include <cstrike>

new botteam[3]

static const botnames[3][] = {
	"NULL", 
	"Gyereesjatsz", // Hungarian languages
	"makellesz"} // Hungarian languages

public plugin_init() 
{
	register_plugin("Fake TeamBot", "1.3", "OneEyed")
	register_event("HLTV", "StartRound", "a", "1=0", "2=0")
}

public plugin_cfg()
	createBots()

public StartRound() 
	set_task(0.5, "PostStartRound", 0)

public PostStartRound() 
{
	new x, bot
	for(x=1; x<3; x++) 
	{
		bot = botteam[x]
		if(is_user_bot(bot)) 
		{
			set_pev(bot, pev_effects, (pev(bot, pev_effects) | 128))
			set_pev(bot, pev_solid, 0)
		}
	}
}
	
createBots()
{
	new bot, x, ptr[128]
	for(x = 1; x<3; x++) 
	{
		bot = find_player("bli", botnames[x])
		if(bot) {
			botteam[x] = bot
			continue
		}
		
		bot = engfunc(EngFunc_CreateFakeClient, botnames[x])
		botteam[x] = bot
		
		dllfunc(DLLFunc_ClientConnect, bot, botnames[x], "252.71.71.185", ptr) // My IP
		dllfunc(DLLFunc_ClientPutInServer, bot)
		select_model(bot, x)
	}
}

select_model(id, team)
	switch(team) 
	{
		case 1: cs_set_user_team(id, CS_TEAM_T, CS_T_TERROR)
		case 2: cs_set_user_team(id, CS_TEAM_CT, CS_CT_URBAN)
	}


All inc file, in the include folder!

PLS HELP!!
ultimatgold is offline
Send a message via ICQ to ultimatgold Send a message via AIM to ultimatgold Send a message via Yahoo to ultimatgold Send a message via Skype™ to ultimatgold
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 01-20-2015 , 00:38   Re: [HELP] Fake Team Bot
Reply With Quote #2

its k no error for me

[IMG]http://s10.************/6ethgk6ex/image.jpg[/IMG]

[IMG]http://s21.************/qh28wibo7/image.jpg[/IMG]
__________________
Thanks everyone. #miss_you_all

Last edited by indraraj striker; 01-20-2015 at 00:40.
indraraj striker is offline
ultimatgold
BANNED
Join Date: Jan 2013
Location: https://t.me/pump_upp
Old 01-20-2015 , 01:02   Re: [HELP] Fake Team Bot
Reply With Quote #3

pls send you include.rar
ultimatgold is offline
Send a message via ICQ to ultimatgold Send a message via AIM to ultimatgold Send a message via Yahoo to ultimatgold Send a message via Skype™ to ultimatgold
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 01-20-2015 , 01:04   Re: [HELP] Fake Team Bot
Reply With Quote #4

Quote:
Originally Posted by ultimatgold View Post
pls send you include.rar
There is no external include.. just compile it locally.
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
ultimatgold
BANNED
Join Date: Jan 2013
Location: https://t.me/pump_upp
Old 01-20-2015 , 01:17   Re: [HELP] Fake Team Bot
Reply With Quote #5

because of the error. :S

EDIT: Now good. Compiler: http://www.amxmodx.org/webcompiler.cgi

Last edited by ultimatgold; 01-20-2015 at 01:19.
ultimatgold is offline
Send a message via ICQ to ultimatgold Send a message via AIM to ultimatgold Send a message via Yahoo to ultimatgold Send a message via Skype™ to ultimatgold
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 17:40.


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