Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 14/10/19 in all areas

  1. local disabledweps = { [0] = true, [22] = true } if not disabledweps[weaponID] then local showammo3 = getPedTotalAmmo(getLocalPlayer()) dxDrawText(tostring (showammo3), x * 979, y * 240, x*1340, y*142,cor[1], 0.9, "pricedown", "right", "center") end
    1 point
  2. createMarker onClientMarkerHit ou bindKey ou addCommandHandler onClientClick dxDrawRectangle dxDrawText dxDrawCircle isMouseInPosition (useful function)
    1 point
  3. Não exagere no uso de Caps Lock. Veja as regras do fórum aqui. Sistema de inventário + loja é muito complexo. Você está querendo dar "um passo maior que a perna". MTA Brasil é apenas um site que junta conteúdo de outros blogs. Você não posta diretamente lá. Se quer publicar seus resources, poste no site oficial da comunidade do MTA: https://community.multitheftauto.com/index.php?p=resources Para fazer feedback nos botões DX ao passar o mouse em cima, recomendo a função útil isMouseInPosition.
    1 point
  4. You ran self-developed cheats for another game, but it uses a library (kernel hack) that can target other games as well. MTA simply detects when a file using that method is ran while MTA is opened, and it results in a ban. Just wait until the ban expires - it's temporary for a day, and should by now have already expired. What you see is probably a visual glitch, please confirm that you can play again or else we will investigate.
    1 point
  5. Serials: CF0BF665ECDDDE5FF7AB2C445D7C1394 and (mod note) 874278BB22EE8480B62E2FDE9129C0E2 Banned for ddosing mrgreengaming.com I admit my guilt. I don't have any desires to be anyhow connected with anything about "ddos" now and in the near future either. https://mrgreengaming.com/forums/topic/20836-alekscore/
    1 point
  6. Deixe um Thanks nas respostas que lhe ajudaram.
    1 point
  7. Assim isso varia muito, no caso do evento onPlayerLogin, o source será o Player, já no evento onVehicleDamage, o source será o veiculo. O parâmetro cmd só será usado em funções que possuir addCommandHandler, pois a variável cmd irá se referir ao comando que você setou dentro dos () do addCommandHandler. ohh Root geralmente é usado no evento onClientRender. Creio que na Wiki deva ter algo que explique melhor, porém te recomendo que veja este tutorial.
    1 point
  8. O código tá certo, para as cores funcionarem você deve definir true no argumento colorCoded e assim está no código acima. (Note que no seu código as booleans estão todas como false)
    1 point
  9. dxDrawText (Nome, 1257, 69, 1388, 97, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "top", false, false, false, true)
    1 point
  10. Split between LV, and SF. LS is the best imo.
    1 point
  11. Bem vindo Antes de tudo recomendo que você assista a esse vídeo e entender como funciona o fórum Tópico Explicação Agora vamos la. Pra fazer um painel abrir por um marcados é simples, você deve utilizar o evento onMarkerHit Exemplo Server-side Trafico = createMarker(2349.53174, -651.42633, 128.19687 -1, "cylinder", 1.1, 0, 255, 0, 55) function Open_Painel (source) triggerClientEvent(source, "Abrir_Painel", source) end addEventHandler("onMarkerHit", Trafico, Open_Painel) Isso iria acionar o triggerClientEvent assim que o jogador colidir com marcador. Você terá que usar mais funções para que evite bugs No outro lado do seu mod ficaria o painel correto. Dai você iria fazer o seguinte irei dar um exemplo. Exemplo Client-side function Painel () addEventHandler("onClientRender", root, Dx) end addEvent("Abrir_Painel", true) addEventHandler("Abrir_Painel", root, Painel) Seria basicamente isso porém como disse tu iriar ter que usar mais algumas coisas para evitar bugs. Meu comentário foi útil? Deixe o Thanks
    1 point
  12. E cadê o portfólio? Mostrando seu trabalho.
    0 points
×
×
  • Create New...