Jump to content

[HELP] Problem with the Slothbot


Matiiaas97

Recommended Posts

Hi all.

I downloaded the resource bodyguard with the Slothbot also. The resource works very good but the aim of the bots is too bad. I want to know how can i fix this problem.

Players told me that i must to change the line of "delay" in the script but i don't find it.

Please help me

Link to comment

In sbclient.lua you'll see it has a lot of this code:

setTimer ( chase_aim, 80, 1, ped, player ) 

This is what the script is using to aim the bots. It means every 80 milliseconds, update the aim. You can decrease the 80 to 50 so it updates every 50MS (the minimum times can have is 50MS) but it will have next to no effect, because 30MS is basically nothing.

Link to comment
In sbclient.lua you'll see it has a lot of this code:
setTimer ( chase_aim, 80, 1, ped, player ) 

This is what the script is using to aim the bots. It means every 80 milliseconds, update the aim. You can decrease the 80 to 50 so it updates every 50MS (the minimum times can have is 50MS) but it will have next to no effect, because 30MS is basically nothing.

I did it and they have a nice aim but they fail some shots yet.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...