Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 20/09/19 in all areas

  1. I understand that but cmon... just googling "mta rotation" first result will be the link i gave him. K nvm. Im sorry if that was too rude ftom my side
    1 point
  2. Consegui arrumar, apenas renomeei algumas linhas do script. Obrigado pela sua ajuda, e a ajuda dos demais
    1 point
  3. A lot more than exports yes. Events are global. But that doesn't mean they are bad. They can be very useful for `events`. But if you can use exports, those can handle really a lot of data. If you observe those closely, you could even write your own event scope based on exports. The main issues lie with: Propagation (while triggering) Like you do this: setElementPosition(root, 0,0,0) This will move every possible element to 0,0,0. Players, vehicles, objects, peds, elements without physics. And for triggerServerClient event, no it probably doesn't send multiple messages (I hope lol). But it does go over every element. This might give the lowest impact. Not sure if propagation will help if there are no children, but at least it will not search for children. local element = createElement("triggerElements", "resource-" .. getResourceName(getThisResource())) setElementCallPropagationEnabled ( element, false) With the amount of listeners. The longer this list the longer it takes. (depending on the context)
    1 point
  4. Checa a arma com getPedWeapon ou getPedWeaponSlot (caso queira especificar se está segurando a arma ) e entao setPlayerHudComponentVisible ( source, "crosshair", false )
    1 point
  5. showPlayerHudComponent ( source, "crosshair", false )
    1 point
  6. It should work in this version of MTA: https://nightly.multitheftauto.com/?mtasa-1.5.7-rc-latest Please try it out and let us know! @gamesreaper13 @Michu000 @Zreti345 @drew @MineAngerBR
    0 points
×
×
  • Create New...