Quwer Posted May 22, 2010 Posted May 22, 2010 Hi all I have a question about the bots on the server to say, I would like to add a few bots on my server, or could someone give me a ready script (done): ID: 248 position: 312.24, -168.01,999.59, 6 Thanks in advance (I use google tranlate because I do not know English well)
Dark Dragon Posted May 22, 2010 Posted May 22, 2010 is 6 the rotation of the ped? do you expect the ped to do anything?
Quwer Posted May 22, 2010 Author Posted May 22, 2010 6 is the interior where it has become bot. If it was possible that he could do some animation?
Dark Dragon Posted May 22, 2010 Posted May 22, 2010 yes animations are possible, i'll include the script to create the ped but to apply an animation to it you'll need to know the exact name of the animation (and it's block) first. https://wiki.multitheftauto.com/wiki/Animations
Quwer Posted May 22, 2010 Author Posted May 22, 2010 Ok i find my animation how i can add this for actor Crack:bd_clap It will be synchronized ? I check your script (thx for that) but its dosent work when i type this in server console I fixed it was a bug in. Xml (name), but when I run the script bot is not show..
Dark Dragon Posted May 22, 2010 Posted May 22, 2010 try to type 'refreshall' in the console before trying to start it. and no, the xml should be fine, the resource works perfectly for me. maybe you are in another dimension?
Quwer Posted May 23, 2010 Author Posted May 23, 2010 Now its work thx thx ! How i can get weapon for bot and god mode Last quastion how many bots i can add for server ?
Dark Dragon Posted May 23, 2010 Posted May 23, 2010 there is no real limit for peds, you can have thousands of them all over san andreas, but if you have too many on the same spot some might not show up correctly due to limits of the gta san andreas engine. to give him a weapon use giveWeapon with a timer setTimer(giveWeapon,1000,1,ped,9,1,true) replace 9 with the weapon id you want him to carry the easiest but also sloppiest way to make this ped invulnerable is to set its health rapidly setTimer(setElementHealth,50,0,ped,1000) put those lines at the bottom of the resourceStart function
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now