Jump to content

Search the Community

Showing results for tags 'save_weapons'.

  • 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
    • [Read-Only] 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. Sticmy

    Ayuda.

    Hola chicos, quisiera saber porqué cuando un jugador muere, les aumenta la munición de las armas, intente resolverlo pero no pude, y el BUG sigue me molesta mucho en mi servidor, Les dejo el código. function onWasted(totalAmmo, killer, killerWeapon, bodypart, stealth, attacker) if not( isGuestAccount (getPlayerAccount(source)) ) then local theWeapon = getPedWeapon (source) local theWeapon1 = getPedWeapon (source, 1) local theWeapon2 = getPedWeapon (source, 2) local theWeapon3 = getPedWeapon (source, 3) local theWeapon4 = getPedWeapon (source, 4) local theWeapon5 = getPedWeapon (source, 5) local theWeapon6 = getPedWeapon (source, 6) local theWeapon7 = getPedWeapon (source, 7) local theWeapon8 = getPedWeapon (source, 8) local theWeapon9 = getPedWeapon (source, 9) local theWeapon10 = getPedWeapon (source, 10) local theWeapon11 = getPedWeapon (source, 11) local theWeapon12 = getPedWeapon (source, 12) local weaponAmmo = getPedTotalAmmo (source) local weaponAmmo1 = getPedTotalAmmo (source, 1) local weaponAmmo2 = getPedTotalAmmo (source, 2) local weaponAmmo3 = getPedTotalAmmo (source, 3) local weaponAmmo4 = getPedTotalAmmo (source, 4) local weaponAmmo5 = getPedTotalAmmo (source, 5) local weaponAmmo6 = getPedTotalAmmo (source, 6) local weaponAmmo7 = getPedTotalAmmo (source, 7) local weaponAmmo8 = getPedTotalAmmo (source, 8) local weaponAmmo9 = getPedTotalAmmo (source, 9) local weaponAmmo10 = getPedTotalAmmo (source, 10) local weaponAmmo11 = getPedTotalAmmo (source, 11) local weaponAmmo12 = getPedTotalAmmo (source, 12) local Skiin = getPedSkin (source) fadeCamera (source, false) setTimer (setElementModel, 3000, 1, source, Skiin, true) setTimer (spawnPlayer, 2000, 1, source, 2027.7943115234, 2167.0517578125, 13.61945438385, 0, getPedSkin (source), 0, 0, getPlayerTeam(source)) setTimer (setCameraTarget, 2250, 1, source, source) setTimer (fadeCamera, 3000, 1, source, true) setTimer (giveWeapon, 3000, 1, source, theWeapon, weaponAmmo, true) setTimer (giveWeapon, 3000, 1, source, theWeapon1, weaponAmmo1, true) setTimer (giveWeapon, 3000, 1, source, theWeapon2, weaponAmmo2, true) setTimer (giveWeapon, 3000, 1, source, theWeapon3, weaponAmmo3, true) setTimer (giveWeapon, 3000, 1, source, theWeapon4, weaponAmmo4, true) setTimer (giveWeapon, 3000, 1, source, theWeapon5, weaponAmmo5, true) setTimer (giveWeapon, 3000, 1, source, theWeapon6, weaponAmmo6, true) setTimer (giveWeapon, 3000, 1, source, theWeapon7, weaponAmmo7, true) setTimer (giveWeapon, 3000, 1, source, theWeapon8, weaponAmmo8, true) setTimer (giveWeapon, 3000, 1, source, theWeapon9, weaponAmmo9, true) setTimer (giveWeapon, 3000, 1, source, theWeapon10, weaponAmmo10, true) setTimer (giveWeapon, 3000, 1, source, theWeapon11, weaponAmmo11, true) setTimer (giveWeapon, 3000, 1, source, theWeapon12, weaponAmmo12, true) end end addEventHandler ("onPlayerWasted", getRootElement(), onWasted)
×
×
  • Create New...