Jump to content

Search the Community

Showing results for tags 'destroy element myblip'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Hola, este script es el conocido Boss que lo busque en el mta resources, bueno mi problema es que spawnea todo bien pero no le ajusta el extra health y le da muy poca vida y el icono del mapa no se elimina al matar al boss espero que me puedan ayudar aca esta el client local function nemesi ( ) nemesi = exports [ "slothBot" ]:spawnBot ( 1124.9117431641, -2036.8974609375, 69.882827758789, 90, math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) setElementModel ( nemesi, 308 ) outputChatBox ("#880000[EVENTO] #555555MIRA EL PUNTO ROJO Y MATA AL BOSS!!!!",getRootElement(), 255, 255, 255, true ) local myBlip = (createBlipAttachedTo ( nemesi, 23 )) triggerClientEvent ( "nsound", root ) triggerClientEvent ( "nemesismissel", root ) setTimer( function() exports.extra_health:setElementExtraHealth(nemesi, 10000) end, 1100, 0) end addEventHandler("onResourceStart", resourceRoot, Nemesisbymanawydan) addEvent("onBotWasted", true) addEventHandler("onBotWasted", getRootElement) function money (theKiller) if (source == nemesi) then givePlayerMoney(theKiller,math.random(15000)) outputChatBox ( getPlayerName ( theKiller ) .. " #081DBFHa matado al BOSS!Se le ha dado #550000$15.000 #081DBFcomo recompensa",getRootElement(), 255, 255, 255, true ) setTimer(Nemesisbymanawydan, 60000, 1) end end addEvent("onBotWasted", true) addEventHandler("onBotWasted", getRootElement(), money) function destroy () if ( not isElement ( nemesi ) ) then destroyElement(myBlip) end end addEvent("onBotWasted", true) addEventHandler("onBotWasted", getRootElement(), destroy)
×
×
  • Create New...