Ayman Posted December 17, 2012 Posted December 17, 2012 hello all , is there any way or mod to make (for example) some peds in my team and they fight with me against another players with weapons ? Note: iam playing on local server , just me and my brother ( two palyers only) is that possible ?? Thanks
Castillo Posted December 17, 2012 Posted December 17, 2012 There's this: https://community.multitheftauto.com/ind ... ils&id=672 But you must spawn them manually. And with this game mode you can play with these bots: https://community.multitheftauto.com/ind ... ils&id=682 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Ayman Posted December 18, 2012 Author Posted December 18, 2012 Thank you very much , But how to spawn them please ?
Castillo Posted December 18, 2012 Posted December 18, 2012 https://wiki.multitheftauto.com/wiki/Slothman/Slothbot San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Ayman Posted December 18, 2012 Author Posted December 18, 2012 ahh yes but i mean if there is a console command to spawn them like follower mod if you type /follower then a ped will be spawned. Thank you and sorry for my questions
Castillo Posted December 18, 2012 Posted December 18, 2012 script.lua: addCommandHandler ( "spawnbot", function ( thePlayer ) local x, y, z = getElementPosition ( thePlayer ) local rot = getPedRotation ( thePlayer ) local skin = math.random ( 28, 165 ) local interior = getElementInterior ( thePlayer ) local dimension = getElementDimension ( thePlayer ) local weapon = 31 local mode = "hunting" exports [ "slothbot" ]:spawnBot ( x, ( y + 1 ), z, rot, skin, interior, dimension, false, weapon, mode ) end ) meta.xml: You must create a new folder in your server resources folder which is located at: MTA San Andreas 1.3\server\mods\deathmatch\resources\ Then create 2 files: 1: script.lua 2: meta.xml Then copy the code I posted for each file and go to your server and start the resource. Then when started this and slothbot resource, go ingame and write "/spawnbot" in chat box. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Ayman Posted December 18, 2012 Author Posted December 18, 2012 thank you very very much mr. This was great help .
Castillo Posted December 18, 2012 Posted December 18, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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