Jump to content

Search the Community

Showing results for tags 'deaths'.

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

  1. ola pessoal, andei pesquisando e tentando fazer um script que quando eu der /stats ele aparecera as mortes as kills e o KD(ratio) mais por algum motivo n sei pq esta dando errado olhem os codigos e pfv me ajudem com isso. Codigo server: function chat( sourcePlayer, commandName, targetPlayerName ) if ( thePlayer ) then local kills = getPlayerKills( getLocalPlayer() ) local deaths = getPlayerDeaths( getLocalPlayer() ) outputChatBox ( "O Player"..getPlayerName(player).."Tem"..kills.."/"..deaths"", root, 255, 255, 255, true ) end end addCommandHandler("stats", chat) Codigo Client: function kills() setElementData ( getLocalPlayer ( ), "kills", 0 ) end addEventHandler ( "onClientResourceStart", resourceRoot, kills ) o KD(ratio) n testei por enquanto mais se vcs quiserem ja colocar pra me ajudar eu ficaria muito grato OBS: Nao deu nenhum erro mais tambem n apareceu no chat quando eu digitava /stats
  2. Ola pessoal, estou procurando um script de que qundo eu der /stats tanto faz o cmd ele mostrar quantas pessoas matei e quantas morri e o "kd" que eu estou, pfv se alguem me ajudar
  3. Bom quero saber como posso corrigir o erro neste script Client : function kills() setElementData ( getLocalPlayer ( ), "kills", 0 ) end addEventHandler ( "onPlayerJoin", root, kills ) Server : function MostrarKills () if ( thePlayer ) then local contarkills = getPlayerKills( getLocalPlayer() ) local contardeaths = getPlayerDeaths( getLocalPlayer() ) outputChatBox ( "O Player"..getPlayerName(player).."Tem"..contarkills.."/"..contardeaths"", root, 255, 255, 255, true ) end end addCommandHandler("kills", MostrarKills)
×
×
  • Create New...