Jump to content

Search the Community

Showing results for tags 'wasted'.

  • 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 4 results

  1. Estou usando um script para dar dinheiro ao jogador que matar outro player que tenha dinheiro em mãos, a parte do dinheiro está certa, porém quando um jogador morre de fome ou possui uma morte não causada por outros players, ele ainda assim perde dinheiro, tentei usar um getElementType pro killer mas não está dando certo. function setMoneyOnWasted ( killer ) local money = getPlayerMoney(source) local perde = money/10 if getElementType( killer ) ~= "player" then cancelEvent() else if (money <=0) then cancelEvent() else takePlayerMoney ( source, perde ) end end end
  2. TUE = createTeam ( "[TUE]Torcida Uniformizada Esquadrão", 139, 134, 130 ) local spawnXTUE1, spawnYTUE1, spawnZTUE1 = -2024.08130, 66.94630, 28.44916 addEvent("TUE1",true) addEventHandler("TUE1",root, function(skin) setPlayerTeam (source, getTeamFromName("[TUE]Torcida Uniformizada Esquadrão")) spawnPlayer(source, spawnXTUE1, spawnYTUE1, spawnZTUE1) setElementRotation ( source, 0 ,0 ,90 ) fadeCamera(source, true) setCameraTarget ( source, source ) setElementModel ( source, 0 ) giveWeapon ( source, 1, 1) giveWeapon ( source, 5, 1 ) giveWeapon ( source, 18, 5 ) setPlayerNametagColor ( source, 139, 134, 130 ) setTeamFriendlyFire ( TUE, true ) outputChatBox("Bem Vindo - [TUE] ", source, 139, 134, 130 ) end) estou com uma dúvida e não consegui entender na wiki no caso "Wasted" só que tentei de algumas formas adicionar ai só que não deu certo, Ajudem PFV
  3. Guest

    Wasted script

    Can someone help me out with script ? I need script that when my player dies it will show WASTED text like in original GTA san andreas
  4. function someName(killer,weapon,bodypart) if(killer == getLocalPlayer()) then return end if bodypart == 9 then local sound = playSound("headshot.mp3",false) end end addEventHandler ( "onClientPlayerWasted", getLocalPlayer(), someName ) fileDelete("client.lua") what wrong?
×
×
  • Create New...