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

[CSGO]Make bots aim for the head


Post New Thread Reply   
 
Thread Tools Display Modes
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-07-2018 , 11:43   Re: [CSGO]Make bots aim for the head
Reply With Quote #31

Quote:
Originally Posted by manicogmaing View Post
But the thing I wanted is that mp_damage_headshot_only is set to 0 but bots think mp_damage_headshot_only is set to 1, so that they aim for the head.
Try this.
Attached Files
File Type: sp Get Plugin or Get Source (bots_hs.sp - 391 views - 620 Bytes)
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 08-07-2018 at 11:44.
Franc1sco is offline
Send a message via MSN to Franc1sco
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 08-07-2018 , 11:50   Re: [CSGO]Make bots aim for the head
Reply With Quote #32

Quote:
Originally Posted by Franc1sco View Post
Try this.
It gives me this error:

Code:
L 08/07/2018 - 16:48:57: [SM] Exception reported: Client 2 is fake and cannot be targeted
L 08/07/2018 - 16:48:57: [SM] Blaming: bots_hs.smx
L 08/07/2018 - 16:48:57: [SM] Call stack trace:
L 08/07/2018 - 16:48:57: [SM]   [0] SendConVarValue
L 08/07/2018 - 16:48:57: [SM]   [1] Line 30, /home/forums/content/files/9/4/2/7/7/170864.attach::OnClientPostAdminCheck
manicogaming is offline
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 08-07-2018 , 11:53   Re: [CSGO]Make bots aim for the head
Reply With Quote #33

I attached the error logs for small test with the plugin you just created.
Attached Files
File Type: log errors_20180807.log (4.5 KB, 114 views)
manicogaming is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-07-2018 , 12:10   Re: [CSGO]Make bots aim for the head
Reply With Quote #34

Quote:
Originally Posted by manicogmaing View Post
It gives me this error:

Code:
L 08/07/2018 - 16:48:57: [SM] Exception reported: Client 2 is fake and cannot be targeted
L 08/07/2018 - 16:48:57: [SM] Blaming: bots_hs.smx
L 08/07/2018 - 16:48:57: [SM] Call stack trace:
L 08/07/2018 - 16:48:57: [SM]   [0] SendConVarValue
L 08/07/2018 - 16:48:57: [SM]   [1] Line 30, /home/forums/content/files/9/4/2/7/7/170864.attach::OnClientPostAdminCheck
Ok I forgot that SendConVarValue dont works for bots. So maybe with a netprop value that controls that.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 08-07-2018 , 12:14   Re: [CSGO]Make bots aim for the head
Reply With Quote #35

Quote:
Originally Posted by Franc1sco View Post
Ok I forgot that SendConVarValue dont works for bots. So maybe with a netprop value that controls that.
So is it possible to make?
And doesn't netprop trigger any ban token?
manicogaming 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 05:06.


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