Ayman Posted December 17, 2012 Share 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 Link to comment
Castillo Posted December 17, 2012 Share 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 Link to comment
Ayman Posted December 18, 2012 Author Share Posted December 18, 2012 Thank you very much , But how to spawn them please ? Link to comment
Castillo Posted December 18, 2012 Share Posted December 18, 2012 https://wiki.multitheftauto.com/wiki/Slothman/Slothbot Link to comment
Ayman Posted December 18, 2012 Author Share 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 Link to comment
Castillo Posted December 18, 2012 Share 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. Link to comment
Ayman Posted December 18, 2012 Author Share Posted December 18, 2012 thank you very very much mr. This was great help . Link to comment
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