Jump to content

Search the Community

Showing results for tags 'zonenemesis'.

  • 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. Hello, I am trying to create a Nemesis that is created with an area and that that area is adapted to the Nemesis but do not manage to do it a suggestion or help? server.lua function Boss ( ) NemesisRa = exports [ "slothBot" ]:spawnBot ( -2551.4892578125, 640.34375, 27.8125, 90, 312, 0, 0, NemesisRa, 23,"chasing", true ) setElementModel ( NemesisRa, 134 ) exports.extra_health:setElementExtraHealth ( NemesisRa, 5000 ) exports.BiOWindow: show ( getRootElement (), "info", "#FF0000[EVENTO]> #00ff00El Boss De San Fierro Ha Aparecido\n#00ff00Si lo Matas De Recompenza Se Te Dara #00ff00$15.000", 8000,"#FF0000|ZA|~> Zombie Attack ~ Boss SF",false ) local hillArea = createColRectangle (NemesisRa, 90, 150 ) attachElements ( hillArea, NemesisRa, 0, 0, 2 ) local x, y, z = getElementPosition(NemesisRa) blipRa = (createBlipAttachedTo ( NemesisRa, 23 )) setElementData ( NemesisRa, "nemesis1", true ) setTimer(Boss, 3000000, 1) setTimer(destroyElement, 3000000, 1, NemesisRa) setTimer(destroyElement, 3000000, 1, blipRa) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), Boss ) function hill_Enter ( thePlayer, matchingDimension ) -- announce to everyone that the player entered the hill if (getElementType(thePlayer) == "player") then outputChatBox( getPlayerName(thePlayer) .. " entered the zone!", getRootElement(), 255, 255, 109 ) setRadarAreaFlashing ( hillRadar, true ) triggerClientEvent (thePlayer, "nsound", thePlayer ) end end addEventHandler ( "onColShapeHit", hillArea, hill_Enter )
×
×
  • Create New...