Jump to content

Search the Community

Showing results for tags 'createobject'.

  • 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. ola fiz este script de plantação só que se eu plantar 2 plantas ao mesmo tempo ele fica todo bugado alguém sabe como posso resolver? elseif itemID == 13 then takeItem(player, itemID, quantidade) local x, y, z = getElementPosition(thePlayer) local vasocanabis = createObject(thePlayer,2203, x+1, y, z-1) exports.danger_infobox:addBox(player,"success", "Voce plantou um Pé de canabis!") markercolher = createMarker ( x+1, y, z-1, "cylinder", 1.5, 255, 255, 0, 170 ) setTimer( function () destroyElement(vasocanabis) canabispronta = createObject(2010, x+1, y, z-1, 0, 0, 0) end ,5000,1 ) function colher(player) destroyElement(canabispronta) destroyElement(markercolher) exports.danger_infobox:addBox(player ,"info", "Voce colheu um pe de canabis!") end function key (player) if isElement(canabispronta) then bindKey (player, "e", "down", colher) exports.danger_infobox:addBox(player ,"info", "Use telca E para colher!") end end addEventHandler( "onMarkerHit", markercolher, key)
×
×
  • Create New...