Raised This Month: $ Target: $400
 0% 

[CS:GO] BOT Improver


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sekac
Senior Member
Join Date: Nov 2016
Old 05-27-2020 , 06:40   Re: [CS:GO] BOT Improver
Reply With Quote #11

It's not working because the check in GetClosestClient should look like this:

Code:
if (client == i || !IsPlayerAlive(i) || (g_cvFFA.IntValue == 0 && GetClientTeam(i) == clientTeam))
{
	continue;
}
And because of unnecessary return at line 206:
Code:
else
{
	return Plugin_Continue;
}
This is my fixed version which makes the amount of aim locking determined by bot_difficulty.
Attached Files
File Type: sp Get Plugin or Get Source (bot_improver.sp - 260 views - 17.8 KB)

Last edited by sekac; 05-27-2020 at 08:17.
sekac is offline
 


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 17:47.


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