Search the Community
Showing results for tags 'slothbot'.
-
Yes, I saw the wiki and it'd be awesome if I could make it real.. So I just copied it and replaced "float x float y float z" with my custom location but the server did not even find the resource itself. I had meta.xml next to it but nothing. I want as many guarding enemy slothbots as I want. Slothbot is also running but nothing.. please help! element spawnBot ( float x, float y, float z, int rotation = 0, [ int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil, int weapon = 0, string theMode = "hunting", element theModesubject = nil ] )
-
function bot1() bot1 = exports.slothbot:spawnBot (4845.0258789063, -1713.5711669922, 59.668750762939, 0, 108, 0, 0, teamLV, 31, "guarding", true ) end addEventHandler ( "onResourceStart", getResourceRootElement(), bot1 ) addEventHandler( "onBotWasted", getRootElement( ), function() setTimer( spawnBot, 5000, 1, source , 4845.0258789063, -1713.5711669922, 59.668750762939, 0, 108, 0, 0, teamLV, 31, "guarding", true ) end )
-
Alguém aí me ajuda ? Os Bots spawna, porém não me atacam DEBUG: Alien1 = {} Alien2 = {} Alien3 = {} function usarDroga (localPlayer) local x, y, z = getElementPosition(getLocalPlayer()) Alien1[localPlayer] = createPed(111, x+13, y+5, z) Alien2[localPlayer] = createPed(112, x+10, y+3, z) Alien3[localPlayer] = createPed(113, x+6, y+5, z) exports.slothbot:spawnBot(x, y, z, 1, Alien1[localPlayer], 0, 0, a, 0, "chasing", localPlayer) exports.slothbot:spawnBot(x, y, z, 1, Alien2[localPlayer], 0, 0, a, 0, "chasing", localPlayer) exports.slothbot:spawnBot(x, y, z,
-
Here is the "nemesis" script: function boss ( ) Nemesis = exports [ "slothBot" ]:spawnBot ( -1935.5480957031, 665.44055175781, 47.0, 90, 312, 0, 0, Nemesis, 0, "chasing", true ) exports.extra_health:setElementExtraHealth ( Nemesis, 2500 ) outputChatBox ("Nemesis!!!") myBlip = (createBlipAttachedTo ( Nemesis, 23 )) setElementData ( Nemesis, "nemesis", true ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), boss ) In which line and what should I add to make the slothbot (nemesis) have any we
-
I need help from you guys, I'm doing a script to drop moneyfrom pedestrians, but I can't. --[[ Triggers whenever a ped is killed ]]-- function killedPed(totalAmmo, killer, killerWeapon, bodypart, stealth, npc) -- Get profitability multiplier local probability_of_richness = math.random(1,1000) if probability_of_richness < 900 then probability_of_richness = 1 elseif probability_of_richness < 975 then probability_of_richness = 3 elseif probability_of_richness < 999 then probability_of_richness = 10 els
-
I need script for Groove members (Bots) standing [On Groove Streets] and shooting to players (all players). This bots must have: -HP like normal player -Groove streets guns (Uzi,AK-47 and others) -Stand or walk in groove streets -20 Bots -Skins from GS Thanks for any reply's
-
WARNING: if you have heart problems, don´t use this resource. Hello, today i come with a jeff the killer resource. This isn´t a simple boss, this is a boss with a screamer when he kill you. (if you are a principiant, maybe this going to be useful for you). This is the link https://community.multitheftauto.com/?p=resources&s=details&id=15227. You can find him in the "?" sign (He can´t be killed with a knife). Here you have some screenshots. This is the boss. This is the screamer. Hope you lik
-
The resource starts, but the bot does not spawn. function bot () team = createTeam ("AngryBots", 255,255,255) exports [ "slothBot" ]:spawnBot ( 2002.5241699219,1546.9384765625,13.5859375, 90, 124, 0, 0, 29, "waiting", true ) end addCommandHandler("bots",bot) <meta> <info author="Falke" version="2.0.0" type="misc" name="angrybots" description="This script will add Silent Hill to San Andreas" /> <script src="server.lua" type="server" /> <include resource="slothbot" /> </meta> Why does not the bot spawn?? Please, help me! Neither the "nemesi1"
-
Hello! I've downloaded latest Slothbot resource and spawned counple bots. Everything was fine till i noticed that if there's no obstacle between me and enemy, his firing won't make a projectile (or it does, but it looks random). In result players can stand in front of a slothbot while he is shooting at him at point blank range and the bullet projectiles aren't spawning.
-
Hello, i need help i tried to attach a 3d sound to a slothbot ped but it doesn't work, the ped works nice and everything but the sound is not attached to him. Server side script: triggerClientEvent ( "JasonSoundClientEvent", root, jasonbot ) Client side script: addEvent("JasonSoundClientEvent", true) addEventHandler("JasonSoundClientEvent", root, function ( ped ) local jasonsound = playSound3D("sounds/jasonsound.mp3", -1633.8134765625, -2234.517578125, 31.4765625, true) setSoundMaxDistance( jasonsound, 50 ) setSoundEffectEnabled(jasonsound, echo, true) setSoundVolu