Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/03/20 in all areas

  1. Eu já corrigi de outra forma, muito obrigado novamente.
    1 point
  2. Vícios de colocar thePlayer, cmd nos parâmetros rsrs.
    1 point
  3. You can attach a small breakable object (like cm_box)to the projectile and make it invisible. Then catch the object break event and explode the satchel. It would also explode when hit by a car or melee - you can filter these out by damage source and cancel the event/recreate the box if this is not what you're after. Also, good idea, I think I'll do it too
    1 point
  4. Isso ocorre por que a sniper somente tem uma bala no clip, você precisará aumenta o clip de balas usando : setWeaponProperty("sniper", "pro", "maximum_clip_ammo", 10) setWeaponProperty("sniper", "std", "maximum_clip_ammo", 10) setWeaponProperty("sniper", "poor", "maximum_clip_ammo", 10)
    1 point
  5. Erro na linha 52. Faltou abrir parênteses.
    1 point
  6. You need to use events. OnClientPlayerJoin trigger the attached function when someone join to server, and you need to start the Intro Render only for this client, who is you, localPlayer. addEventHandler("onClientPlayerJoin", root, function -- Wiki note: The `source` of this event is the player that joined the server. if source == localPlayer then -- who join is you, the localPlayer -- start render end end) -- or set the source of the event to localPlayer instead of root, and then you dont need to check it who is the source. Some Lua tutorial
    1 point
  7. Add me to a chat program and I'll help you understand further You can use 2 methods, Shaders, which can sync to multiplayer. Or .TXD files, to locally replace the texture for individual clients.
    1 point
  8. Use engineApplyShaderToWorldTexture Link: https://wiki.multitheftauto.com/wiki/EngineApplyShaderToWorldTexture
    1 point
  9. Você pode fazer isso. Crie uma tabela com o ID do veículo como index e os valores da handling como value. A principal função e o principal evento que você deve usar: setVehicleHandling onVehicleEnter
    1 point
  10. It's not fail. You can create vehicles on client side too, and then you can use it.
    1 point
×
×
  • Create New...