Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/12/19 in all areas

  1. Vc precisa usar os parâmetros do evento em vez de usar variáveis locais. Preste atenção na Wiki do onClientPedDamage.
    2 points
  2. Hello Community! Today i proudly present you the project I was working on for years: The probably most realistic competitive world war 2 server of all time for MTA! Maybe you remember the Brandenburger Gate image from mtasa.com or moddb? The time has come to live that dream! http://gta-saaw.blogspot.de/?m=1 FEATURES -2 teams, U.S. Army vs. German Wehrmacht -competitive, ticket based gamemode with stealth elements, up to 52 players -different map types: -TDM (small maps, infantry only) -WAR (big maps, everything allowed) -AIRSTRIKE (self explaining) -TANK WAR (large maps with masses of vehicles) -more planned! -22 different vehicles (Tiger tank, B-17G Bomber...) -Level/ability system -custom sounds, skins, effects and what not -shaders en masse, you can enable/disable them -improved physics, improved bullet sync -a lot of synced custom weapons -realistic weaponry for vehicles (Coaxial MGs, bombs...) -realistic damage model (front/rear armor) -supply system (trucks can deliver ammo to vehicles) -different ammo types (armor piercing, High explosive...) -custom mini-maps for radar -cockpit view for armored vehicles and aircraft -detailed LOD system for the big maps -many, many other smaller things More will come soon. A new addition currently in development are Warships - yes, you read that correct:
    1 point
  3. bindKey isPlayerInACL -- https://wiki.multitheftauto.com/wiki/IsPlayerInACL função útil triggerClientEvent
    1 point
  4. Da próxima vez utilize o botão <> do fórum para postar códigos. Não cole direto no texto. E a linha 12 do Danilin_S.Lua está errada. Troque aquele source por player.
    1 point
  5. You are the best. Thanks We can close topic
    1 point
  6. local screenWidth,screenHeight = guiGetScreenSize() -- Get screen resolution. function renderDisplay ( ) dxDrawImage ( screenWidth/2 - 100, screenHeight/2-100, 200, 200, 'look.png', 0, 0, -120 ) end function HandleTheRendering ( ) addEventHandler("onClientRender", root, renderDisplay) -- Keep everything visible with onClientRender. -- hide it after 5 sec setTimer(function() removeEventHandler("onClientRender", root, renderDisplay) end, 5000, 1) end addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering)
    1 point
  7. local screenWidth,screenHeight = guiGetScreenSize() -- Get screen resolution. function renderDisplay ( ) dxDrawImage ( screenWidth/2 - 50, 0, 100, 240, 'look.png', 0, 0, -120 ) end function HandleTheRendering ( ) addEventHandler("onClientRender", root, renderDisplay) -- Keep everything visible with onClientRender. -- hide it after 5 sec setTimer(function() removeEventHandler("onClientRender", root, renderDisplay) end, 5000, 1) end addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering) sorry i havent seen your secret end, after dxDrawText
    1 point
  8. A função mencionada, no caso irá desativar a textura carregada no jogo, e a padrão volta. Para ativar a textura você vai precisar importar o modelo com as funções engineLoadTXD, engineImportTXD, engineLoadDFF e engineReplaceModel. Na página wiki já tem o código.
    1 point
  9. Não. Pois faz parte do funcionamento dele se espalhar. O que você pode fazer é criá-lo no ar, sem contato com o chão. Apesar de ficar estranho.
    1 point
  10. because it makes no sense what you did local screenWidth,screenHeight = guiGetScreenSize() -- Get screen resolution. function renderDisplay ( ) dxDrawImage ( screenWidth/2 - 50, 0, 100, 240, 'look.png', angle, 0, -120 ) end end function HandleTheRendering ( ) addEventHandler("onClientRender", root, renderDisplay) -- Keep everything visible with onClientRender. -- hide it after 5 sec setTimer(function() removeEventHandler("onClientRender", root, renderDisplay) end, 5000, 1) end addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering)
    1 point
  11. @Maloi2k Use it serverside. You can't remove players from vehicles on clientside with that function.
    1 point
  12. Replace these 3 files in GTA San Andreas folder > data
    0 points
×
×
  • Create New...