Jump to content

DaddyMTA

Members
  • Posts

    10
  • Joined

  • Last visited

Details

  • Gang
    Groove Street
  • Location
    CJ
  • Interests
    Script

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DaddyMTA's Achievements

Member

Member (5/54)

1

Reputation

  1. Hi, good afternoon, I'm starting a project that will be related to GTA:SA Resource Streaming and I wanted to know how it worked or a brief explanation to better understand it. https://wiki.multitheftauto.com/wiki/GTA:SA_Resource_Streaming#Known_resource_types
  2. Opa, boa tarde, estou iniciando um projeto que estará relacionado ao GTA:SA Resource Streaming e queria saber como que funcionava ou uma breve explicação para entender melhor sobre. https://wiki.multitheftauto.com/wiki/GTA:SA_Resource_Streaming#Known_resource_types
  3. To fazendo uma dashboard e quero que apareca listado os nomes dos players por exemplo player1 player2 ... Mais os nomes ficam todos juntos
  4. Lately some injectable hacks for mta are appearing, coming from some Russians this is really possible apparently, if so is there any way to protect servers against this, or the mta itself may have a possible way to solve this?
  5. Mais dai nesse caso você acha que ficaria otimizado? pra jogadores com um PC não tão bom conseguir rodar ate que bem no servidor?
  6. É possivel de uma forma otimizada inserir o mapa do Grand Theft Auto V no MTA? Se sim como?
  7. Não sei se esta correto coloquei assim para testar dai coloquei um print para ver o valor que retorna no debugscript e retornal nil quando eu coloco na editbox 255, 0, 0 ou 255 0 0 function SetarCor (playerSource, getMsg) local uVehicle = getPedOccupiedVehicle( playerSource ) if isPedInVehicle( playerSource ) then if uVehicle then local teste = split(getMsg, ',') setVehicleColor(uVehicle, teste) print(tonumber(teste)) end end end addEvent("SetarCor", true) addEventHandler("SetarCor", getRootElement(), SetarCor)
  8. Galera to fazendo um sistema de painel q vc digita no painel tipo 255, 0, 0 dentro de um carro e seta a cor vermelha no carro q e do rgb 255, 0, 0 e etc. mas da forma que achei que era possivel ao abrir o painel e digitar a cor em rgb eu fiz uma função que na teoria era pra pegar oq foi digitado na editbox e setar oq foi digitado na editbox como cor do carro usando setVehicleColor so q n aparece nada e n seta cor no carro mais se o carro ta vermelho e coloca tipo 255, 0, 0 na editbox e da ok a cor sempre muda pra preto espero q de para entender function SetarCor (playerSource, getMsg) --local mensagem = tonumber(getMsg) local uVehicle = getPedOccupiedVehicle( playerSource ) if isPedInVehicle( playerSource ) then if uVehicle then -- if mensagem == "Vermelho" then setVehicleColor( uVehicle, tonumber(getMsg)) end end --end end addEvent("SetarCor", true) addEventHandler("SetarCor", getRootElement(), SetarCor) PARTE DO CLIENT function rgbtrigger (button, state) if painel == true then if button == "left" and state == "down" then if isCursorOnElement(screenW * 0.6384, screenH * 0.5885, screenW * 0.7379, screenH * 0.6185) then local getMsg = tostring(getElementData(msgstaff, "CMT_Txt")) removeEventHandler("onClientRender", root, dx) triggerServerEvent("SetarCor", getLocalPlayer(), localPlayer, getMsg) painel = false showCursor(false) end end end end addEventHandler("onClientClick", root, rgbtrigger)
  9. O mais novo Avakim City O melhor do rp leve roda em qualquer pc! --> Download Rápido. --> Servidor Leve. --> Vips com valores acessíveis. --> Economia Realista. --> Vagas para Staff. --> Vagas para corporação e facção.
×
×
  • Create New...