Jump to content

Anbu7

Members
  • Posts

    3
  • Joined

  • Last visited

Anbu7's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Anbu7

    Bot Problem

    yep everything is defined,the problem ain't on the bot, i just want to destroy the marker and the blip once the bot die
  2. Anbu7

    Bot Problem

    Here is the script, and i tried to add "addEvent" before, but it didn't work botTable = {} addEvent("Accept",true) addEventHandler("Accept",root, function (hitElement) botTable[Girl] = call ( getResourceFromName ( "slothbot" ), "spawnBot", x,y,z,0,115,Dim,Int,nil,0) call ( getResourceFromName ( "slothbot" ), "setBotFollow",botTable[Girl], hitElement ) setTimer( function () call(getResourceFromName("slothbot"), "setBotAttackEnabled",botTable[Girl],false ) end,60000,0) end ) addEventHandler ( "onBotWasted", root, function ( attacker ) if (source == botTable[Girl]) then outputChatBox("Mission Failed",attacker,255,0,0) destroyElement(finishMarker) destroyElement(myBlip) end end )
  3. Anbu7

    Bot Problem

    Well, I am trying to create a mini mission, the player will fail if the bot gets killed, so the arrival marker should be destroyed but i couldn't destroy it,the blip as well, Thanks addEventHandler ( "onBotWasted", root, function ( attacker ) if (source == botTable[Girl]) then outputChatBox("Mission Failed",attacker,255,0,0) destroyElement(finishMarker) destroyElement(myBlip) end end )
×
×
  • Create New...